
W741C250
Publication Release Date: March 1998
- 13 -
Revision A4
interrupts are inhibited until the EN INT or MOV IEF, #I instruction is invoked. The interrupts can also
be disabled by executing the DIS INT instruction. When an interrupt is generated in hold mode, the
hold mode will be released momentarily and the interrupt subroutine will be executed. After the RTN
instruction is executed in an interrupt subroutine, the
μ
C will enter hold mode again. The operation
flow chart is shown in Figure 8. The control diagram is shown below.
Interrupt Event Control Diagram
S
R
Q
S
R
Q
IEF.0
IEF.1
Interrupt
Process
Circuit
Interrupt
Vector
Generator
004H
008H
00CH
014H
020H
IEF.2
S
R
Q
Initial Reset
MOV IEF, #I
Enable
EN INT
EVF.1
EVF.0
EVF.2
Initial Reset
CLR EVF, #I instruction
DIS INT instruction
Disable
Divider 0
overflow signal
Timer 0
underflow signal
Port RC
signal change
S
R
Q
S
R
Q
Timer 1
underflow signal
falling edge signal
IEF.4
EVF.4
IEF.7
EVF.7
INT pin
Figure 7. Interrupt Event Control Diagram
Stop Mode Operation
In stop mode, all operations of the
μ
C cease (including the operation of the oscillator). The
μ
C enters
stop mode when the STOP instruction is executed and exits stop mode when an external trigger is
activated (by a low level on the
INT
pin or a falling signal on the RC port). When the designated
signal is accepted, the
μ
C awakens and executes the next instruction (if the corresponding bits of IEF
and PEF have been set, It will enter the interrupt service routine after stop mode released). To
prevent erroneous execution, the NOP instruction should follow the STOP command.
Hold Mode Operation
In hold mode, all operations of the
μ
C cease, except for the operation of the oscillator, timer, and
LCD driver. The
μ
C enters hold mode when the HOLD instruction is executed. The hold mode can be
released in one of five ways: by the action of Timer 0, Timer 1, Divider 0, the
INT
pin, or the RC port.