µPD75216A
5. PERIPHERAL HARDWARE FUNCTIONS
5.1 PORTS
I/O ports have the following three functions.
•
•
•
CMOS input (PORT0, 1)
: 8
CMOS input/output (PORT2, 3, 4, 5, 6)
: 20
P-ch open-drain, high-voltage, high-current output (PORTH) : 4
Total 32
Table 5-1 Port Functions
Port Name
PORT0
Function
Operation and Feature
Remarks
4-bit input
Always read or test possible irrespective of the dual-function Shares the pins with SI, SO, SCK
pin operating mode.
and INT4.
Always read or test possible, P10 and P11 are inputs with the
noise elimination function.
PORT1
Shares the pins with INT0 to INT
2 and TI0.
PORT3
PORT6
4-bit
Can be set bit-wise to the input or output mode. Port 6 can
incorporate a pull-down resistor as a mask option.
input/output
Can be set to the input or output mode in 4-bit units.
Ports 4 and 5 can input/output data in pairs in 8-bit units.
Ports 4 and 5 can directly drive LEDs.
PORT2
PORT4
PORT5
P23 shares the pin with BUZ.
PORTH
4-bit output
P-ch open-drain high-voltage, high-current output port. Can Shares the pins with T10/S15 to
drive an FIP and LED directly. Can incorporate a pull-down T13/S12.
resistor bit-wise as a mask option.
17