17
μ
PD780021, 780022, 780023, 780024
Preliminary Data Sheet
5. PERIPHERAL HARDWARE FUNCTION FEATURES
5.1 Ports
The following 3 types of I/O ports are available.
CMOS input (Port 1)
CMOS input/output (Port 0, Port 2 to Port 7)
N-channel open-drain input/output (P30 to P33) : 4
: 8
: 39
Total
: 51
Table 5-1. Port Functions
Name
Pin Name
Function
Port 0
P00 to P03
Input/output port pins. Input/output specifiable bit-wise.
When used as input port pins, on-chip pull-up resistor can be used by software.
Port 1
P10 to P17
Dedicated input port pins.
Port 2
P20 to P25
Input/output port pins. Input/output specifiable bit-wise.
When used as input port pins, on-chip pull-up resistor can be used by software.
Port 3
P30 to P33
N-channel open-drain input/output port pins. Input/output specifiable bit-wise.
On-chip pull-up resistor can be used by mask option.
LED can be driven directly.
P34 to P36
Input/output port pins. Input/output specifiable bit-wise.
When used as input port pins, on-chip pull-up resistor can be used by software.
Port 4
P40 to P47
Input/output port pins. Input/output specifiable bit-wise.
When used as input port pins, on-chip pull-up resistor can be used by software.
Test input flag (KRIF) is set to 1 by falling edge detection.
Port 5
P50 to P57
Input/output port pins. Input/output specifiable bit-wise.
When used as input port pins, on-chip pull-up resistor can be used by software.
LED can be driven directly.
Port 6
P64 to P67
Input/output port pins. Input/output specifiable bit-wise.
When used as input port pins, on-chip pull-up resistor can be used by software.
Port 7
P70 to P75
Input/output port pins. Input/output specifiable bit-wise.
When used as input port pins, on-chip pull-up resistor can be used by software.