Interrupt Function - Epson S1C6P366 Technical Manual

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports)

4.4.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.4.2.1 shows the configuration of K00–K03 (K10–K13) interrupt circuit.
Figure 4.4.2.2 shows the configuration of K20 interrupt circuit.
K00, 10
Address
Input comparison
register (KCP00, 10)
Interrupt selection
register (SIK00, 10)
K01, 11
K02, 12
K03, 13
Fig. 4.4.2.1 Input interrupt circuit configuration (K00–K03, K10–K13)
K20
Input comparison
register (KCP20)
Interrupt selection
register (SIK20)
28
Address
Address
Address
Address
Address
Fig. 4.4.2.2 Input interrupt circuit configuration (K20)
EPSON
Address
Interrupt factor
flag (IK0, 1)
Interrupt mask
register (EIK0, 1)
Address
Interrupt factor
flag (IK2)
Interrupt mask
register (EIK2)
Address
S1C6P366 TECHNICAL MANUAL
Interrupt
request
Address
Interrupt
request

Advertisement

Table of Contents
loading

Table of Contents