6.22 __enable_interrupt Intrinsic Function

Enable interrupts.

For Cortex-M devices, it resets the execution priority level to default by clearing the priority mask bit, PRIMASK.

Suggested Replacement

__set_PRIMASK(0)

Caveats

None.

Examples

Consider migrating IAR code such as:
void __enable_interrupt(void); 
to MPLAB XC codes similar to:
__SET_PRIMASK(0); 

Further Information

None.