54
CHAPTER 4 PORT FUNCTIONS
Pin Name Input/Output Function Dual-Function Pin
P00 Input Port 0 Input only
P01 Input/output 4-bit input/output port Input/output is specifiable bit-wise. When INTP1
P02 used as the input port, it is possible to connect INTP2
P03 a pull-up resistor by software. INTP3
P10-P17 Input/output Port 1 ANI0-ANI7
8-bit input/output port
Input/output is specifiable bit-wise.
When used as the input port, it is possible to connect a pull-up resistor
by software.
P30-P34 Input/output Port 3
P35 8-bit input/output port PCL
P36 Input/output is specifiable bit-wise. BUZ
P37 When used as the input port, it is possible to connect a pull-up resistor
by software.
P50-P57 Input/output Port 5
8-bit input/output port
A maximum of 7 out of 8 ports can drive LEDs directly.
Input/output is specifiable bit-wise.
When used as the input port, it is possible to connect a pull-up resistor
by software.
P70 Input/output Port 7 SI2/RxD
P71 3-bit input/output port SO2/TxD
P72 Input/output is specifiable bit-wise. SCK2/ASCK
When used as the input port, it is possible to connect a pull-up resistor
by software.
P100 Input/output Port 10 TI5/TO5
P101 2-bit input/output port TI6/TO6
Input/output is specifiable bit-wise.
When used as the input port, it is possible to connect a pull-up resistor
by software.
Table 4-1. Port Functions