Attribute Macro interrupt
#[interrupt]
Expand description
Marks a function as the interrupt handler, with optional interrupt level indicated
When the function is also marked #[naked]
, it is a low-level interrupt
handler: no entry and exit code to store processor state will be generated.
The user needs to ensure that all registers which are used are saved and
restored and that the proper return instruction is used.