
m
PD78070A
20
5.
PERIPHERAL HARDWARE FUNCTIONS
5.1
Ports
Input/output ports are classified into three types.
CMOS inputs (P00, P07)
CMOS input/outputs (P01-P06, Port 1-3, P66, Port 7, P94-P96, Port 10,
Port 12, Port 13)
N-ch open-drain input/outputs (P60-P63, P90-P93)
: 2
: 51
: 8
Total
: 61
Table 5-1. Functions of Ports
Port Name
Pin Name
Function
Port 0
P00, P07
Input only.
P01-P06
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 1
P10-P17
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 2
P20-P27
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 3
P30-P37
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 6
P60-P63
N-ch open-drain input/output port. Input/output can be specified bit-wise.
LED can be driven directly.
P66
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 7
P70-P72
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 9
P90-P93
N-ch open-drain input/output port. Input/output can be specified bit-wise.
P94-P96
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 10
P100-P103
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 12
P120-P127
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.
Port 13
P130, P131
Input/output port. Input/output can be specified bit-wise.
When used as an input port, on-chip pull-up resistor can be connected by software.