Download OSs-Micrium-Learning Centre-Application Notes
Transcript
Micriµm µC/OS-II and µC/OS-Probe for the Microchip PIC24 When the selected Timer issues an interrupt, the processor vectors to __T2Interrupt() or __T4Interrupt() depending on which timer is enabled for use with the OS Ticker. These ISR functions both call Tmr_TickISR_Handler() as described above in Listing 3-3. Only 1 timer for the OS Ticker may be enabled at a time. You should note that ALL of your ISRs should be written in assembly where OS related processing may take place before calling an interrupt handler function of the form ‘interrupt void MyISR_Handler(void)’ Refer to AN-1024 for details. 21