
CHAPTER 4 PORT FUNCTIONS
User’s Manual U17894EJ9V0UD
106
Table 4-2. Port Functions (2/2)
Function Name
I/O
Function
After Reset
Alternate Function
P60
SCL0
P61
SDA0
P62
P63
P64
RD
P65
WR0
P66
WR1
P67
I/O
Port 6.
8-bit I/O port.
Output of P60 to P63 can be set to N-ch open-drain output (6
V tolerance).
Input/output can be specified in 1-bit units.
For only P64 to P67, use of an on-chip pull-up resistor can be
specified by a software setting.
Input port
ASTB
P70 to P73
KR0/EX16 to KR3/
EX19
P74 to P77
I/O
Port 7.
8-bit I/O port.
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Input port
KR4/EX20/INTP8 to
KR7/EX23/INTP11
P80 to P87
I/O
Port 8.
8-bit I/O port.
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Input port
EX0 to EX7
P110
ANO0
P111
I/O
Port 11.
2-bit I/O port.
Input/output can be specified in 1-bit units.
Input port
ANO1
P120
I/O
INTP0/EXLVI
P121
X1
P122
X2/EXCLK
P123
XT1
P124
Input
Port 12.
1-bit I/O port and 4-bit input port.
For only P120, use of an on-chip pull-up resistor can be
specified by a software setting.
Input port
XT2
P130
Output
Output port
P131
I/O
Port 13.
1-bit output port and 1-bit I/O port.
For only P131, use of an on-chip pull-up resistor can be
specified by a software setting.
Input port
TI06/TO06
P140
PCLBUZ0/INTP6
P141
PCLBUZ1/INTP7
P142
SCK20/SCL20
P143
SI20/RxD2/SDA20
P144
SO20/TxD2
P145
I/O
Port 14.
6-bit I/O port.
Input of P142 and P143 can be set to TTL input buffer.
Output of P142 to P144 can be set to the N-ch open-drain
output (VDD tolerance).
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Input port
TI07/TO07
P150 to P157
I/O
Port 15.
8-bit I/O port.
Input/output can be specified in 1-bit units.
Digital input
port
ANI8 to ANI15