SAM47 INSTRUCTION SET KS57C2308/P2308/C2316/P2316
5-52
EI Enable Interrupts
EI
Operation: Operand Operation Summary Bytes Cycles
Enable all interrupts 2 2
Description: Bit 3 of the interrupt priority register IPR (IME) is set to logic one. This allows all interrupts to be
serviced when they occur, assuming they are enabled. If an interrupt's status latch was
previously enabled by an interrupt, this interrupt can also be serviced.
Operand Binary Code Operation Notation
– 11111111IM 1
10110010
Example: If the IME bit (bit 3 of the IPR) is logic zero (e.g., all instructions are disabled), the instruction
EI
sets the IME bit to logic one, enabling all interrupts.