Interrupt Service Routine Template (isr_pseudocode)


In order to work with the OS kernel ISRs must follow the template defined in isr_pseudocode.

Briefly an ISR MUST
  1. Invoke SAVE_CONTEXT
  2. increment int_nest by 1 (INC)
  3. Save SP
  4. Do ISR specific stuff
  5. call os_int_exit
  6. Invoke RESTORE_CONTEXT
  7. Return (RETI)


Back to DocumentationIndex



CategoryDocumentation
There are no comments on this page.
Creative Commons License
Micro RTOS Documentation by Aliasgar Lokhandwala is licensed under a Creative Commons Attribution-Non-Commercial-Share Alike 3.0 License.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki