S1C63666 TECHNICAL MANUAL
EPSON
129
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT)
4.18.1 Interrupt factor
Table 4.18.1.1 shows the factors for generating interrupt requests.
The interrupt flags are set to "1" depending on the corresponding interrupt factors.
The CPU operation is interrupted when an interrupt factor flag is set to "1" if the following conditions are
established.
• The corresponding mask register is "1" (enabled)
• The interrupt flag is "1" (EI)
The interrupt factor flag is reset to "0" when "1" is written.
At initial reset, the interrupt factor flags are reset to "0".
∗
Since the watchdog timer's interrupt is NMI, the interrupt is generated regardless of the setting above,
and no interrupt factor flag is provided.
Table 4.18.1.1 Interrupt factors
Interrupt factor
Programmable timer 2 (counter = 0)
Programmable timer 1 (counter = 0)
Programmable timer 0 (counter = 0)
Serial interface (8-bit data input/output completion)
K00–K03 input (falling edge or rising edge)
K10–K13 input (falling edge or rising edge)
Clock timer 1 Hz (falling edge)
Clock timer 2 Hz (falling edge)
Clock timer 8 Hz (falling edge)
Clock timer 32 Hz (falling edge)
Stopwatch timer (Direct RUN)
Stopwatch timer (Direct LAP)
Stopwatch timer (1 Hz)
Stopwatch timer (10 Hz)
R/f converter (end of reference conversion)
R/f converter (end of sensor conversion)
IPT2
IPT1
IPT0
ISIF
IK0
IK1
IT3
IT2
IT1
IT0
IRUN
ILAP
ISW1
ISW10
IRFB
IRFM
(FFF1H•D2)
(FFF1H•D1)
(FFF1H•D0)
(FFF2H•D0)
(FFF3H•D0)
(FFF4H•D0)
(FFF5H•D3)
(FFF5H•D2)
(FFF5H•D1)
(FFF5H•D0)
(FFF6H•D3)
(FFF6H•D2)
(FFF6H•D1)
(FFF6H•D0)
(FFF7H•D1)
(FFF7H•D0)
Interrupt factor flag
Note: After an interrupt occurs, the same interrupt will occur again if the interrupt enabled state (I flag =
"1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be
sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to
the interrupt enabled state.
Содержание S1C63666
Страница 1: ...Technical Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63666 Technical Hardware S1C63666 ...
Страница 4: ......
Страница 6: ......