
17
m
PD78042F, 78043F, 78044F, 78045F
5. PERIPHERAL HARDWARE FUNCTIONS
5.1 PORTS
I/O ports are classified into the following five types:
CMOS input (P00, P04)
CMOS input/output (P01 - P03, ports 1 - 3)
N-ch open-drain input/output (port 7)
P-ch open-drain output (ports 8 - 10)
P-ch open-drain input/output (ports 11 and 12)
: 2
: 27
: 5
: 18
: 16
Total
: 68
Table 5-1 Port Function
Product
Pin
Function
Port 0
P00, P04
Input-only port
P01-P03
I/O port. Can be specified for input or output in 1-bit units. When used as input port,
internal pull-up resistor can be connected through software.
Port 1
P10-P17
I/O port. Can be specified for input or output in 1-bit units. When used as input port,
internal pull-up resistor can be connected through software.
Port 2
P20-P27
I/O port. Can be specified for input or output in 1-bit units. When used as input port,
internal pull-up resistor can be connected through software.
Port 3
P30-P37
I/O port. Can be specified for input or output in 1-bit units. When used as input port,
internal pull-up resistor can be connected through software.
Pull-down resistor can be connected in 1-bit units by the mask option.
Can directly drive LED.
Port 7
P70-P74
N-ch open-drain I/O port. Can be specified for input or output in 1-bit units.
Pull-up resistor can be connected in 1-bit units by the mask option.
Can directly drive LED.
Port 8
P80, P81
P-ch open-drain output port with high withstand voltage. Pull-down resistor can be
connected in 2-bit units by the mask option (connection to V
LOAD
or V
SS
can be specified in
2-bit units).
Can directly drive LED.
Port 9
P90-P97
P-ch open-drain output port with high withstand voltage. Pull-down resistor can be
connected in 1-bit units by the mask option (connection to V
LOAD
or V
SS
can be specified in
4-bit units).
Can directly drive LED.
Port 10
P100-P107
P-ch open-drain output port with high withstand voltage. Pull-down resistor can be
connected in 1-bit units by the mask option (connection to V
LOAD
or V
SS
can be specified in
4-bit units).
Can directly drive LED.
Port 11
P110-P117
P-ch open-drain I/O port with high withstand voltage. Can be specified for input or output
in 1-bit units. Pull-down resistor can be connected in 1-bit units by the mask option
(connection to V
LOAD
or V
SS
can be specified in 4-bit units).
Can directly drive LED.
Port 12
P120-P127
P-ch open-drain I/O port with high withstand voltage. Can be specified for input or output
in 1-bit units.
Pull-down resistor can be connected in 1-bit units by the mask option (connection to
V
LOAD
or V
SS
can be specified in 4-bit units).
Can directly drive LED.