88
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15798EJ2V0UD
Table 4-1. Port Functions
Name
Pin Name
Function
Port 0
P00 to P07
I/O port. Input/output mode can be specified in 1-bit units.
An on-chip pull-up resistor can be used in 1-bit units by setting pull-up resistor option
register 0 (PU0).
Port 1
P10 to P17
Input-only port
Port 2
P20 to P27
I/O port. Input/output mode can be specified in 1-bit units.
An on-chip pull-up resistor can be used in 1-bit units by setting pull-up resistor option
register 2 (PU2).
Port 3
P30 to P35
I/O port. Input/output mode can be specified in 1-bit units.
P30 and P31 are 5 V N-ch open-drain I/O port. Mask ROM version of the
µ
PD780344,
780354 Subseries can specify an on-chip pull-up resistor in 1-bit units by mask option.
P32 to P35 can use an on-chip pull-up resistor in 1-bit units by setting pull-up resistor
option register 3 (PU3).
Port 4
P40 to P43
I/O port. Input/output mode can be specified in 1-bit units.
An on-chip pull-up resistor can be used in 1-bit units by setting pull-up resistor option
register 4 (PU4).
Sets the interrupt request flag (KRIF) to 1 by detecting a rising edge.
Port 7
P70 to P73
Middle-voltage N-ch open-drain I/O port. Input/output mode can be specified in 1-bit units.
Mask ROM version can specify an on-chip pull-up resistor in 1-bit units by mask option.
Port 8
Note
P80 to P87
I/O port. (Only pin whose I/O port is selected by pin function switching register 8 (PF8))
Port 9
Note
P90 to P97
I/O port. (Only pin whose I/O port is selected by pin function switching register 9 (PF9))
Port 10
Note
P100 to P107
I/O port. (Only pin whose I/O port is selected by pin function switching register 10 (PF10))
Port 11
Note
P110 to P113
I/O port. (Only pin whose I/O port is selected by pin function switching register 11 (PF11))
Note
Whether these pins are used as I/O port pins or segment output pins can be selected in 1-bit units by using
the pin function switching register.