1. Interruption permit EI
1. Interruption permit EI
1.1. Instruction Description
The instruction will globally enable all associated interrupt events. To execute an interrupt subroutine, a global interrupt must be enabled first.
When entering RUN mode, the initial state is to prohibit interrupts. In RUN mode, the interrupt enable instruction (EI) can be executed to allow all interrupts. Executing the disable interrupt instruction (DI) can disable the interrupt process; However, the activated interrupt events continue to queue up.
1.2. The valid operands of the instruction
| Input/Output | Data Type | operand | Description |
|---|
1.3. Example
Please refer to Example of Interrupt Binding to ATC。