Using the 32-bit interval timer, this sample program reverses LED indications based on the settings of the compare match detection flags when a timer interrupt occurs. The application also changes the timer interrupt generation intervals based on the number of times the switch has been previously pressed.