__enable_interrupt
In this section:
Syntax
vo id __enable_interrupt(void);
Description
Enables interrupts.
In 32-bit mode: For Cortex-M devices, it resets the execution priority level to default by clearing the priority mask bit, PRIMASK. For other devices, it enables interrupt requests (irq) and fast interrupt requests (fiq). This intrinsic function can only be used in privileged mode.
In 64-bit mode: Enables all four types of interrupts in the DAIF system register (low 4 bits).
Note
To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.