userTimerDemo
This demo (userTimerDemo directory) shows how to use the user timer and its interrupt function. This demo configures the user timer and its prescaler setting, which you use to further scale down the frequency used by the timer's counter. When the timer's counter reaches the targeted tick value, it generates an interrupt signal to interrupt the controller to let the SoC jump from the main routine to the interrupt routine.
user timer 0 demo !
user timer 0 interrupt routine
user timer 0 interrupt routine
user timer 0 interrupt routine
user timer 0 interrupt routine