S1C6S3N2 TECHNICAL SOFTWARE
EPSON
II-15
CHAPTER 4: INTERRUPT AND HALT
Generation of Interrupt
4.2
Table 4.2.1
Interrupt factors
Interrupt Factor
Clock timer 2 Hz falling edge
Clock timer 8 Hz falling edge
Clock timer 32 Hz falling edge
Stopwatch counter
1 Hz falling edge
Stopwatch counter
10 Hz falling edge
Input data (K00–K03)
Change from match to mismatch
of differential register data
and port register data
Input data (K10)
Rising or falling edge
T2Hz
T8Hz
T32Hz
SWT1Hz
SWT10Hz
K0
K1
Interrupt Mask
Register
Interrupt
Factor Flag
ETI2
ETI8
ETI32
EISWIT1
EISWIT0
EIK03
EIK02
EIK01
EIK00
EIK10
(078H•D2)
(078H•D1)
(078H•D0)
(076H•D1)
(076H•D0)
(075H•D3)
(075H•D2)
(075H•D1)
(075H•D0)
(077H•D2)
TI2
TI8
TI32
SWIT1
SWIT0
IK0
IK1
(079H•D2)
(079H•D1)
(079H•D0)
(07AH•D1)
(07AH•D0)
(07AH•D2)
(07AH•D3)
The CPU operation is interrupted when any of the conditions
below sets an interrupt factor flag to "1".
• The corresponding interrupt mask register is "1" (enabled)
• The interrupt flag is "1" (EI)
The interrupt flag is set to "1" depending on the correspond-
ing interrupt factor.
The interrupt factor flag is a read-only register, and is reset
to "0" when the register data is read out.
• Even when the interrupt mask registers (ETI, EISWIT) are set to
"0", the interrupt factor flags (TI, SWIT) of the clock timer and
stopwatch counter can be set when the timing conditions are
established.
• Reading of interrupt factor flags is available at EI, but be careful
in the following cases.
If the interrupt mask register value corresponding to the interrupt
factor flags to be read is set to "1", an interrupt request will be
generated by the interrupt factor flags set timing, or an interrupt
request will not be generated.
Be very careful when interrupt factor flags are in the same
address.
Note
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......