— 12 —
(1) Port pins (2/2)
Pin Name
P40 to P47
P50 to P57
P60
P61
P62
P63
P64
P65
P66
P67
P70
P71
P72
P120 to P127
P130 to P131
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Function
Port 4
8-bit I/O port
Input/output can be specified in 8-bit units.
If used as an input port, an on-chip pull-up resistor can
be connected by setting software.
The test input flag (KRIF) is set to 1 by falling edge
detection.
Port 5
8-bit I/O port
LEDs can be driven directly.
Input/output can be specified in 1-bit units.
If used as an input port, an on-chip pull-up resistor can
be connected by setting software.
Port 6
8-bit I/O port
Input/output can be
specified in 1-bit units.
Port 7
3-bit I/O port
Input/output can be specified in 1-bit units.
If used as an input port, an on-chip pull-up resistor can
be connected by setting software.
Port 12
8-bit I/O port
Input/output can be specified in 1-bit units.
If used as an input port, an on-chip pull-up resistor can
be connected by setting software.
Port 13
2-bit I/O port
Input/output can be specified in 1-bit units.
If used as an input port, an on-chip pull-up resistor can
be connected by setting software.
After Reset
Input
Input
Input
Input
Input
Input
Alternate Function
AD0 to AD7
A8 to A15
—
RD
WR
WAIT
ASTB
SI2/RxD0
SO2/TxD0
SCK2/ASCK
RTP0 to RTP7
ANO0 to ANO1
N-ch open-drain I/O port
On-chip pull-up resistors can
be specified by mask option.
(Mask ROM version only).
LEDs can be driven directly.
If used as an input port, an on-
chip pull-up resistor can be
connected by setting software.