
W921E880A/W921C880
- 34 -
6.12.2 Interrupt Enable Flag
When the interrupt is enabled by an event, the program counter will jump to the interrupt address and
the Enable InterruptT Flag (ENINT) bit0 is cleared. All the interrupts will also be disabled at the same
time. The only method to enable the interrupt again is to set the ENINT bit0 or to execute the RTNI
instruction.
ENINT REG: (ADDRESS = 034H)
(Default data = 0H)
b3
b2
b1
b0
0: Disable all interrupt
1: Enable all interrupt
Reserved
Reserved
Reserved
When the interrupt is enabled by an event, the individual interrupt request signal is automatically
cleared by the hardware with the other interrupt request signals kept in the same condition. The only
way to reset the interrupt request signal is to execute the instruction CLR EVF, #I (I is a 8bits data, for
example, CLR EVF, #00000001b instruction implies to clear TM0 interrupt request signal). This
instruction is a 2 word / 2 cycle instruction; the format of the immediate data is shown as follows:
i3
i2
i1
i0
1: TM2 int. request signal is clear
1: TM1 int. request signal is clear
1: TM0 int. request signal is clear
1: TM3 int. request signal is clear
i4
i5
i6
i7
1: SERIAL int. request signal is clear
1: P4 int. request signal is clear
1: INT0 int. request signal is clear
1: COMPARATOR int. request signal is clear
6.13 Operating Mode
There are 3 types of operating mode, Normal Mode , Hold Mode, and Stop Mode.
6.13.1 Normal Mode
All functions operate with the
μ
P functioning according to the system clock.
6.13.2 Hold Mode
The
μ
P enters the HOLD MODE when the HOLD instruction is executed from NORMAL MODE. In
this mode, the system clock is stopped, so the program counter (PC) will also stop. But the oscillator,
timer/ counter, serial port and interrupt active pins continue to function.
The HOLD MODE can be released only by the RESET pin or by an interrupt request signal. When the
hold mode is released, either the hold mode is released only, or the hold mode is released and the
interrupt subroutine (interrupt vector) is serviced. The HOLD MODE RELEASES FLAG 1, 2, 3
(HMRF1, 2, 3 ) (ADDRESS = 036H, 037H, 038H) which can control the flow. The formats of these
three flags are shown below.