Other Parts Discussed in Thread: SYSCONFIG
I have used the MSP430 for about 18+ years. I have used different MSP430 in teaching Embedded Systems and it has gone well. I am trying to transition the assignments to an M0 to give students exposure to an ARM processor. I am looking for a simple project to load that shows a timer configuration that is equivalent to an MSP430 device. The TI examples are NOT PORTABLE. I am looking for a project that is stand alone and can be open in Code Composer which contains a timers.c file and a interrupts_timers.c in addition to main.c where the timer is 200msec and sets a global variable set to a non zero value. In main, this variable is evaluated and when true will call a function to update a custom display. I have the display working, I just need to configure a timer and understand how to see the interrupt happen.
I am also interested in setting up both SW1 and SW2 to trigger an interrupt which in that interrupt will enable a timer to debounce the switch press. The Debounce time for the switch is a 500ms delay. In the timer interrupt the debounce will be disabled and the switch enabled.