36
EPSON
S1C63358 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports)
4.5.2 Interrupt function
All nine bits of the input ports (K00–K03, K10–K13, K20) provide the interrupt function. The conditions
for issuing an interrupt can be set by the software. Further, whether to mask the interrupt function can be
selected by the software. The input interrupts are divided into three systems: K0 (K00–K03), K1 (K10–
K13) and K20 systems.
Figure 4.5.2.1 shows the configuration of K00–K03 (K10–K13) interrupt circuit.
Figure 4.5.2.2 shows the configuration of K20 interrupt circuit.
Data bus
Input comparison
register (KCP00, 10)
K00, 10
Interrupt
request
Interrupt selection
register (SIK00, 10)
Address
Address
Address
Address
Interrupt factor
flag (IK0, 1)
K01, 11
K02, 12
K03, 13
Interrupt mask
register (EIK0, 1)
Address
Fig. 4.5.2.1 Input interrupt circuit configuration (K00–K03, K10–K13)
Data bus
Input comparison
register (KCP20)
K20
Interrupt
request
Interrupt selection
register (SIK20)
Address
Address
Address
Address
Interrupt factor
flag (IK2)
Interrupt mask
register (EIK2)
Address
Fig. 4.5.2.2 Input interrupt circuit configuration (K20)