preemptive
In this section:
Syntax
#pragma preemptive=addr1[,addr2,...]
Parameters
| The address of an additional CSR to save in addition to the registers saved by using the |
Description
Use this pragma directive with interrupt functions declared __preemptive to make the interrupt enter sequence save additional control and status registers (CSR) for the __preemptive interrupt function that follows.
Example
#pragma preemptive=0x102,0x104
__preemptive __interrupt void myInterruptFunction(void);
{
...
}