34
User’s Manual U11302EJ4V0UM
CHAPTER 2 PIN FUNCTIONS
2.1 Pin Function List
2.1.1 Normal operating mode pins
(1) Port pins (1/2)
Pin Name
I/O
Function
After
Alternate
Reset
Function
P00
Input
Input only
Input
INTP0/TI0
P01
I/O
Input
INTP1
P02
INTP2
P03
INTP3
P04
Note 1
Input
Input only
Input
XT1
P10 to P17
I/O
Port 1.
Input
ANI0 to ANI7
8-bit I/O port.
Input/output can be specified in 1-bit units.
If used as an input port, use of an on-chip pull-up resistor can be
specified by software settings
Note 2
.
P20
I/O
Input
SI1
P21
SO1
P22
SCK1
P23
STB
P24
BUSY
P25
SI0/SB0
P26
SO0/SB1
P27
SCK0
P30
I/O
Input
TO0
P31
TO1
P32
TO2
P33
TI1
P34
TI2
P35
PCL
P36
BUZ
P37
—
Notes 1.
When the P04/XT1 pin is used as an input port, set bit 6 (FRC) of the processor clock control register
(PCC) to 1 (do not use the feedback resistor contained in the subsystem clock oscillator).
2.
When the P10/ANI0 to P17/ANI7 pins are used as analog inputs of the A/D converter, set port 1 to
the input mode. In this case, its on-chip pull-up resistor will be automatically disabled.
Port 0.
5-bit I/O port.
Input/output can be specified in 1-bit units.
If used as an input port, use of an on-chip
pull-up resistor can be specified by
software settings.
Port 2.
8-bit I/O port.
Input/output can be specified in 1-bit units.
If used as an input port, use of an on-chip pull-up resistor can be
specified by software settings.
Port 3.
8-bit I/O port.
Input/output can be specified in 1-bit units.
LEDs can be driven directly.
If used as an input port, use of an on-chip pull-up resistor can be
specified by software settings.
In mask ROM versions, use of an on-chip pull-down resistor can be
specified in 1-bit units with the mask option.