User’s Manual U15331EJ4V1UD
37
CHAPTER 2 PIN FUNCTIONS
2.1 List of Pin Functions
(1) Port pins (1/2)
Pin Name
I/O
Function
After Reset
Alternate Function
P00 to P07
I/O
Port 0.
8-bit I/O port.
Input/output can be specified in 1-bit units.
When used as an input port, an on-chip pull-up resistor can be
specified in 1-bit units by pull-up resistor option register B0
(PUB0) or the key return mode register (KRM00).
Input
KR0 to KR7
Note 1
KR00 to KR07
Note 2
P10, P11
I/O
Port 1.
2-bit I/O port.
Input/output can be specified in 1-bit units.
When used as an input port, an on-chip pull-up resistor can be
specified in 1-bit units by pull-up resistor option register B1
(PUB1).
Input
−
P20
SCK20/ASCK20
P21
SO20/TxD20
P22
SI20/RxD20
P23
SCK10
P24
SO10
P25
I/O Port
2.
6-bit I/O port.
Input/output can be specified in 1-bit units.
When used as an input port, an on-chip pull-up resistor can be
specified in 1-bit units by pull-up resistor option register B2
(PUB2).
Input
SI10
P30
INTP0/TO50/TMI60
P31
INTP1/TO60
P32
INTP2/TMI61/TO61
P33
INTP3/CPT20/TO20
P34
I/O Port
3.
5-bit I/O port.
Input/output can be specified in 1-bit units.
When used as an input port, on-chip pull-up resistors can be
specified in 1-bit units by pull-up resistor option register B3
(PUB3).
Input
RIN
Note 2
P50 to P53
I/O
Port 5.
4-bit N-ch open-drain I/O port.
Input/output can be specified in 1-bit units.
For mask ROM version, an on-chip pull-up resistor can be
specified by mask option.
Input
−
P60 to P67
Input
Port 6.
8-bit input port.
Input
ANI0 to ANI7
Note 1
ANI0/KR10 to
ANI7/KR17
Note 2
Notes 1.
µ
PD789488 and 78F9488 only
2.
µ
PD789489 and 78F9489 only