/* Open Timer0 frequency to 0.5 Hz in periodic mode, and enable interrupt */
TIMER_Open(TIMER0, TIMER_PERIODIC_MODE, 1);
TIMER_EnableInt(TIMER0);
/* Open Timer1 frequency to 1 Hz in periodic mode, and enable interrupt */
TIMER_Open(TIMER1, TIMER_PERIODIC_MODE, 2);
TIMER_EnableInt(TIMER1);
/* Open Timer2 frequency to 2 Hz in periodic mode, and enable interrupt */
TIMER_Open(TIMER2, TIMER_PERIODIC_MODE, 4);
TIMER_EnableInt(TIMER2);
/* Open Timer3 frequency to 4 Hz in periodic mode, and enable interrupt */
TIMER_Open(TIMER3, TIMER_PERIODIC_MODE, 8);
TIMER_EnableInt(TIMER3);
|