
77
CHAPTER 4 PORT FUNCTIONS
User
’
s Manual U15017EJ2V0UD
Table 4-1. Port Function
Pin Name
Function
Alternate
Function
P00 to P03
Port 0.
4-bit input port.
ANI8 to ANI11
P10 to P17
Port 1.
8-bit input port.
ANI0 to ANI7
P20
Port 2.
4-bit I/O port.
Input/output can be specified in 1-bit units.
On-chip pull-up resistor can be specified by a software setting in 1-bit or 8-bit units.
TI00
P25
SI0/R
X
D0
P26
SO0/T
X
D0
P27
SCK0/ASCK0
P40 to P47
Port 4.
8-bit I/O port.
Input/output can be specified in 1-bit units.
Can directly drive LED.
On-chip pull-up resistor can be specified by a software setting in 8-bit units when this port
is used as input port.
—
P50 to P54
Port 5.
N-ch open-drain 8-bit medium-voltage I/O port.
Input/output can be specified in 1-bit units.
Can directly drive LED.
On-chip pull-up resistor can be specified by mask option in 1-bit units (mask ROM versions
only). The
μ
PD78F4976A does not have pull-up resistors, however.
—
P55
SI2
P56
SO2
P57
SCK2
P60
Port 6.
8-bit I/O port.
Input/output can be specified in 1-bit units.
On-chip pull-up resistor can be specified by a software setting in 8-bit units when this port is
used as input port.
SI1
P61
SO1
P62
SCK1
P63
TIO50
P64
INTP0
P65
INTP1
P66
TIO51
P67
INTP2
P70 to P77
Port 7.
P-ch open-drain 8-bit high-voltage I/O port.
Input/output can be specified in 1-bit units.
On-chip pull-down resistor can be specified by mask option in 1-bit units (mask ROM
versions only). The
μ
PD78F4976A does not have pull-down resistors, however.
FIP16 to FIP23
P80 to P87
Port 8.
P-ch open-drain 8-bit high-voltage I/O port.
Input/output can be specified in 1-bit units.
On-chip pull-down resistor can be specified by mask option in 1-bit units (mask ROM
versions only). The
μ
PD78F4976A does not have pull-down resistors, however.
FIP24 to FIP31
P90 to P97
Port 9.
P-ch open-drain 8-bit high-voltage I/O port.
Input/output can be specified in 1-bit units.
On-chip pull-down resistor can be specified by mask option in 1-bit units (mask ROM
versions only). The
μ
PD78F4976A does not have pull-down resistors, however.
FIP32 to FIP39
P100 to P107
Port 10.
P-ch open-drain 8-bit high-voltage output port.
On-chip pull-down resistor can be specified by mask option in 1-bit units (mask ROM
versions only). The
μ
PD78F4976A does not have pull-down resistors, however.
FIP40 to FIP47