“Interrupt service routines that cannot cause a context switch have no special requirements and can be written as per the compiler documentation.
Interrupt service routines that can cause a context switch must execute with priority portKERNEL_INTERRUPT_PRIORITY, and only call taskYIELD() at the very end of the service routine after the interrupt source has been cleared. See the file serial.c included in the demo application for an example.”
no mention of assembly code, I don’t know what it is you are reading.
Hello Dave,
my document is the one bought on official freertos website, it’s page 89.
as i said, i just have a ‘doubt’
so if the interrupt does not cause a context switch AND if it canoot be itself interrupted i can use the C handler.
i just began with FreeRtos.
the assembly kind is discussed a the very end of this page.
my document is the one for PIC32.