User`s manual

Dynamic C Users Manual digi.com 79
Figure 5-10 Logical Flow of a TA-ISR
Save registers used by TA-ISR
Reenable interrupts (optional)
Do work necessary for interrupt
Decrement Nesting Count
Call OSIntExit
Clear interrupt source
Increment nesting count
Is Nesting == 0 ?
Restore Registers used by TA-ISR
Return from interrupt
Is switch pending ?
Switch to new task
Yes
Yes
No
No