Writing interrupt handlers for ARM_LPC2000

aeyes wrote on Wednesday, July 07, 2010:

    I need information on how to write Interrupt handlers in FreeRTOS. I mean will the calls portSAVE_CONTEXT and portRESTORE_CONTEXT() be only required in the handler along with the code? What are the other factors to look at ? I am referring to ARM_LPC2000

sotd wrote on Wednesday, July 07, 2010:

Read under “interrupt service routines” on this link http://www.freertos.org/portlpc2106.html

In the wrapper it is best to call the C function using inline asm though.

Assumes you use gcc.