15.2.14 Interrupt Function Attribute

The interrupt (priority) attribute instructs the compiler to generate prologue and epilogue code for the function as an interrupt handler function. The argument specified the interrupt priority level using the symbols IPLnSOFT, IPLnSRS, or IPLnAUTO where n represents the 7 levels of priority and SOFT|SRS|AUTO specifies the context saving mode.

See Interrupts for more information on writing and handling interrupts.