User’s Manual U16898EJ3V0UD
21
CHAPTER 2 PIN FUNCTIONS
2.1 Pin Function List
(1) Port
functions
Pin Name
I/O
Function
After Reset
Alternate-
Function Pin
P20 to P23
I/O
Port 2.
4-bit I/O port.
Can be set to input or output mode in 1-bit units.
An on-chip pull-up resistor can be connected by setting software.
Input
ANI0 to ANI3
P30
TI000/INTP0
P31
I/O
Can be set to input or output mode in 1-
bit units.
An on-chip pull-up resistor can be
connected by setting software.
Input
TI010/TO00/
INTP2
P34
Note
Input
Port 3
Input only
Input
RESET
Note
P40
−
P41
INTP3
P42
TOH1
P43
TxD6/INTP1
P44
RxD6
P45
I/O Port
4.
6-bit I/O port.
Can be set to input or output mode in 1-bit units.
An on-chip pull-up resistor can be connected by setting software.
Input
−
P121
Note
X1
Note
P122
Note
X2
Note
P123
I/O Port
12.
3-bit I/O port.
Can be set to input or output mode in 1-bit units.
An on-chip pull-up resistor can be connected only to P123 by
setting software.
Input
−
P130 Output
Port
13.
1-bit output-only port
Output
−
Note
For the setting method for pin functions, see
CHAPTER 17 OPTION BYTE
.
Caution The P121/X1 and P122/X2 pins are pulled down during reset.