Synopsis
#define __enable_interrupt()  __bis_SR_register(0x80)
Description

__enable_interrupt enables global interrupts by setting the I bit in the status register and returns the value of the status register before the I bit is set. You can restore the state of the I bit from the value returned from __enable_interrupt by using the __restore_interrupt intrinsic function.

__enable_interrupt is an intrinsic function and produces inline code.