
16
μ
PD78044H, 78045H, 78046H
5. PERIPHERAL HARDWARE FUNCTIONS
5.1 PORTS
I/O ports are classified into the following 5 kinds:
CMOS input (P00, P04)
CMOS input/output (P01 - P03, ports 1 and 2)
N-ch open-drain input/output (ports 3 and 7)
P-ch open-drain output (ports 8 - 10)
P-ch open-drain input/output (ports 11 and 12)
: 2
: 19
: 13
: 18
: 16
Total
: 68
Table 5-1 Port Function
Product
Pin
Function
Port 0
P00, P04
Input port
P01-P03
I/O port. Can be specified for input or output in 1-bit units. When used as input port,
built-in 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,
built-in 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,
built-in pull-up resistor can be connected through software.
Port 3
P30-P37
N-ch open-drain I/O port. Can be specified for input or output in 1-bit units.
Built-in pull-up 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.
Built-in 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 high-voltage output port. 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 2-bit units).
Can directly drive LED.
Port 9
P90-P97
P-ch open-drain high-voltage output port. 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 high-voltage output port. 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 high-voltage I/O port. 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 high-voltage I/O port. 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.