Specifications

S1C62N82 TECHNICAL SOFTWARE EPSON II-81
CHAPTER 3: PERIPHERAL CIRCUITS (Interrupt and Halt)
• Interrupt control registers
The data of the input comparison registers (KCP00–KCP03)
is compared with the data of the corresponding input ports
(K00–K03). If the data does not match and the correspond-
ing input mask register (EIK00–EIK03) is "1", the interrupt
factor flag (IK0) is set to "1".
These registers are used to determine the change in the
input (K01–K03) level. (See Figure 3.12.1.)
The data of the input comparison register (KCP10) is com-
pared with the data of the corresponding input port (K10). If
the data does not match and the corresponding input mask
register (EIK10) is "1", the interrupt factor flag (IK1) is set to
"1".
This register is used to determine the change in the input
(K10) level. (See Figure 3.12.2.)
The input comparison register can effectively be used to
determine the on/off state of the input.
However, as shown in Figure 3.12.1, the result of compari-
son of the input (K00–K03) is collected in the interrupt
factor flag (IK0), so the input comparison register cannot be
used to determine the on/off state of the key matrix.
KCP00 to KCP03
KCP10