Download OSs-Micrium-Learning Centre-Application Notes
Transcript
Micriµm
µC/OS-II and µC/Probe for the NXP LPC2478 CPU
void BSP_Tmr_TickISR_Handler (void)
{
T0IR
= 0xFF;
/* Note 1 */
OSTimeTick();
/* Note 2 */
}
Listing 5-3, BSP_Tmr_TickISR_Handler()
Listing 5-3, Note 1: The interrupt is cleared.
Listing 5-3, Note 2: OSTimeTick() informs μC/OS-II of the tick interrupt.
27