28
User’s Manual U15104EJ2V0UD
CHAPTER 2 PIN FUNCTION
2.1 Pin Function List
(1) Port pins
Pin Name
I/O
Function
After Reset
Alternate Function
P00 to P04
I/O
Port 0
Input
INTP0 to INTP4
7-bit I/O port
P05, P06
Input/output can be specified in 1-bit units.
—
P10 to P15
Input
Port 1
Input
ANI0 to ANI5
6-bit input port
P30 to P32
I/O
Port 3
Input
—
P33
8-bit I/O port.
TI50
P34
Input/output can be specified in 1-bit units.
TI51
P35
—
P36
BEEP0
P37
BUZ
P40 to 47
I/O
Port 4
Input
—
8-bit I/O port.
Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be specified by software.
Interrupt function by key input is provided.
P50 to P57
I/O
Port 5
Input
—
8-bit I/O port
Input/output can be specified in 1-bit units.
P60 to P67
I/O
Port 6.
Input
—
8-bit I/O port.
Input/output can be specified in 1-bit units.
P70
I/O
Port 7
Input
SI30
P71
8-bit I/O port
SO30
P72
Input/output can be specified in 1-bit units.
SCK30
P73
—
P74
SI31
P75
SO31
P76
SCK31
P77
TI52
P120
I/O
Port 12
Input
SI32
P121
6-bit I/O port
SO32
P122
Input/output can be specified in 1-bit units.
SCK32
P123
SI321
P124
SO321
P125
SCK321
P130
Output
Port 13
Low-level
TO50
P131
3-bit output port
output
TO51
P132
N-ch open-drain output port (12 V tolerance)
TO52