Specifications

Table Of Contents
S1C62740 TECHNICAL HARDWARE EPSON I-39
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports)
I/O Ports (P00–P03, P10–P13, P20–P23)4.6
Configuration of I/O
ports
The S1C62740 has 12 bits (4 bits × 3) general-purpose I/O ports.
Figure 4.6.1 shows the configuration of the I/O port.
The four bits of each of the I/O ports P00–P03, P10–P13 and P20–
P23 can be set to either input mode or output mode. Modes can be
set by writing data to the I/O control register.
Moreover, pull up resistor which is turned ON during input mode
can be controlled through the software.
Fig. 4.6.1
Configuration of I/O port
The I/O ports P20–P23 are common used with the input/output
ports of the serial interface, and function of these ports can be
selected through the software.
Refer to Section 4.11, "Serial Interface" for details of the serial
interface.
Address
Data
register
Data bus
P
V
Address
Address
Address
DD
I/O control
register (IOC)
Pull up control
register (PUP)
V
SS