µPD178004, 178006, 178016, 178018
3. PIN FUNCTION LIST
3.1 PORT PINS
Pin Name I/O
P00
Input
P01-P06 I/O
P10-P15 I/O
P20
I/O
P21
P22
P23
P24
P25
P26
P27
P30-P32 I/O
P33
P34
P35
P36
P37
P40-P47 I/O
P50-P57 I/O
P60-P63 I/O
P64-P67
P120-P125 I/O
P132-P134 Output
Function
After Reset Alternate Function
Port 0.
Input only
Input
INTP0
7-bit input/output port.
Input/output mode can be specified bit-wise. Input
INTP1-INTP6
Port 1.
6-bit input/output port.
Input/output mode can be specified bit-wise.
Input
ANI0-ANI5
Port 2.
Input
SI1
8-bit input/output port.
SO1
Input/output mode can be specified bit-wise.
SCK1
STB
BUSY
SI0/SB0/SDA0
SO0/SB1/SDA1
SCK0/SCL
Port 3.
Input
—
8-bit input/output port.
TI1
Input/output mode can be specified bit-wise.
TI2
—
BEEP
—
Port 4.
8-bit input/output port.
Input/output mode can be specified in 8-bit units.
Test input flag (KRIF) is set to 1 by falling edge detection.
Input
—
Port 5.
8-bit input/output port.
Input/output mode can be specified bit-wise.
Input
—
Port 6.
Middle voltage N-ch open drain
Input
—
8-bit input/output port.
input/output port.
Input/output mode can be
LEDs can be driven directly.
specified bit-wise.
Port 12.
6-bit input/output port.
Input/output mode can be specified bit-wise.
Input
—
Port 13.
3-bit output port.
N-ch open-drain output port.
—
PWM0-PWM2
9