Input Ports (K00-K03); Configuration Of Input Ports; Interrupt Function - Epson S1C63454 Technical Manual

Table of Contents

Advertisement

4.4 Input Ports (K00–K03)

4.4.1 Configuration of input ports

The S1C63454 has four bits general-purpose input ports. Each of the input port terminals (K00–K03)
provides internal pull-up resistor. Pull-up resistor can be selected for each bit with the mask option.
Figure 4.4.1.1 shows the configuration of input port.
Selection of "With pull-up resistor" with the mask option suits input from the push switch, key matrix,
and so forth. When "Gate direct" is selected, the port can be used for slide switch input and interfacing
with other LSIs.

4.4.2 Interrupt function

All four bits of the input ports (K00–K03) 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.
Figure 4.4.2.1 shows the configuration of K00–K03 interrupt circuit.
K00
Address
Input comparison
register (KCP00)
Interrupt selection
register (SIK00)
K01
K02
K03
S1C63454 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports)
Kxx
Fig. 4.4.1.1 Configuration of input port
Address
Address
Fig. 4.4.2.1 Input interrupt circuit configuration
V
DD
Interrupt
request
Address
V
SS
Mask option
Interrupt factor
flag (IK0)
EPSON
Address
Interrupt mask
register (EIK0)
Address
Interrupt
request
27

Advertisement

Table of Contents
loading

Table of Contents