User’s Manual U18172EJ2V0UD
20
CHAPTER 2 PIN FUNCTIONS
2.1 Pin Function List
(1) Port
pins
Pin Name
I/O
Function
After Reset
Alternate-Function
Pin
P20
ANI0/TI000/TOH1
P21
ANI1/TI010/
TO00/INTP0
P22
Note 1
X2/ANI2
Note 1
P23
Note 1
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
X1/ANI3
Note 1
P32
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 INTP1
P34
Note 1
Input
Port 3
Input only
Input
RESET
Note 1
P40, P43
Note 2
I/O Port
4.
2-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
−
Notes 1.
For the setting method for pin functions, see
CHAPTER 15 OPTION BYTE
.
2.
At program initialization, set PM41, PM42, and PM44 to PM47 to "0".
Caution The P22/X2/ANI2 and P23/X1/ANI3 pins are pulled down during reset.