![](http://datasheet.mmic.net.cn/380000/-PD780206_datasheet_16744909/-PD780206_18.png)
m
PD780204, 780205, 780206, 780208
18
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-3)
N-ch open-drain input/output (port 7)
P-ch open-drain output (ports 8, 9)
P-ch open-drain input/output (ports 10 - 12)
: 2
: 27
: 5
: 16
: 24
Total
: 74
Table 5-1. Port Function
Name
Pin Name
Function
Input port
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.
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.
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.
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 mask option.
Can directly drive LED.
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 mask option.
Can directly drive LED.
P-ch open-drain high-voltage output port.
Pull-down resistor can be connected in 1-bit units by mask option (connection to V
LOAD
or V
SS
can be specified in 4-bit units). Can directly drive LEDs.
P-ch open-drain high-voltage output port.
Pull-down resistor can be connected in 1-bit units by mask option (connection to V
LOAD
or V
SS
can be specified in 4-bit units). Can directly drive LEDs.
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 mask option (connection to V
LOAD
or V
SS
can be specified in 4-bit units). Can directly drive LEDs.
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 mask option (connection to V
LOAD
or V
SS
can be specified in 4-bit units). Can directly drive LEDs.
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 mask option (connection to V
LOAD
or V
SS
can be specified in 4-bit units). Can directly drive LEDs.
P00, P04
P01-P03
P10-P17
P20-P27
P30-P37
P70-P74
P80-P87
P90-P97
P100-P107
P110-P117
P120-P127
Port 0
Port 1
Port 2
Port 3
Port 7
Port 8
Port 9
Port 10
Port 11
Port 12