69
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15104EJ2V0UD
Table 4-1. Port Functions
Pin Name
I/O
Function
Alternate Function
P00 to P04
I/O
Port 0
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
ANI0 to ANI5
6-bit input port
P30 to P32
I/O
Port 3
—
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
—
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
—
8-bit I/O port
Input/output can be specified in 1-bit units.
P60 to P67
I/O
Port 6
—
8-bit I/O port
Input/output can be specified in 1-bit units.
P70
I/O
Port 7
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
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
TO50
P131
3-bit output port
TO51
P132
N-ch open-drain output port (12 V tolerance)
TO52