17.8 Enabling/Disabling Interrupts

The built-in functions __builtin_get_isr_state and __builtin_set_isr_state can be used to check and set the Interrupt Priority Level and Interrupt Enable bits. The __builtin_disable_interrupts and __builtin_enable_interrupts built-in functions can be used to disable and enable interrupts. See Built-In Function Descriptions for a description of these built-in functions.