S1C63558 TECHNICAL MANUAL
EPSON
147
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT)
4.16.1 Interrupt factor
Table 4.16.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.16.1.1 Interrupt factors
Interrupt factor
Dialer (dialing cycle completion)
Ring detection (falling edge or rising edge)
Carrier detection (falling edge or rising edge)
Programmable timer 1 (counter = 0)
Programmable timer 0 (counter = 0)
Serial interface (1) (receive error)
Serial interface (1) (receive completion)
Serial interface (1) (transmit completion)
Serial interface (2) (receive error)
Serial interface (2) (receive completion)
Serial interface (2) (transmit 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 (1 Hz)
Stopwatch timer (10 Hz)
ID
IRDET
ICDET
IPT1
IPT0
ISER
ISRC
ISTR
ISERS
ISRCS
ISTRS
IK0
IK1
IT3
IT2
IT1
IT0
ISW1
ISW10
(FFF9H•D0)
(FFFAH•D0)
(FFFAH•D1)
(FFF2H•D1)
(FFF2H•D0)
(FFF3H•D2)
(FFF3H•D0)
(FFF3H•D1)
(FFF8H•D2)
(FFF8H•D0)
(FFF8H•D1)
(FFF4H•D0)
(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.
Содержание S1C63558
Страница 1: ...MF1153 03 Technical Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63558 Technical Hardware S1C63558 ...
Страница 4: ......
Страница 6: ......