126
CHAPTER 6 PORT FUNCTIONS
Pin Name Function Alternate Function
P00 Port 0. Input only INTP0/TI00
P01 8-bit input/output port. Input/output mode can be specified INTP1/TI01
P02 bit-wise. INTP2
P03 If used as an input port, an on-chip pull-up INTP3
P04 resistor can be used by software. INTP4
P05 INTP5
P06 INTP6
P07 Input only XT1
P10 to P17 Port 1. ANI0 to ANI7
8-bit input/output port.
Input/output mode can be specified bit-wise.
If used as an input port, an on-chip pull-up resistor can be used by software.
P20 Port 2. SI1
P21 8-bit input/output port. SO1
P22 Input/output mode can be specified bit-wise. SCK1
P23 If used as an input port, an on-chip pull-up resistor can be used by software. STB
P24 BUSY
P25 SI0/SB0
P26 SO0/SB1
P27 SCK0
P30 Port 3. TO0
P31 8-bit input/output port. TO1
P32 Input/output mode can be specified bit-wise. TO2
P33 If used as an input port, an on-chip pull-up resistor can be used by software. TI1
P34 TI2
P35 PCL
P36 BUZ
P37 —
P40 to P47 Port 4. AD0 to AD7
8-bit input/output port.
Input/output mode can be specified in 8-bit units.
If used as an input port, an on-chip pull-up resistor can be used by software.
Test input flag (KRIF) is set to 1 by falling edge detection.
P50 to P57 Port 5. A8 to A15
8-bit input/output port.
LED can be driven directly.
Input/output mode can be specified bit-wise.
If used as an input port, an on-chip pull-up resistor can be used by software.
Table 6-1. Port Functions (
µ
PD78058F Subseries) (1/2)