µPD780031AY, 780032AY, 780033AY, 780034AY
3. PIN FUNCTIONS
3.1 Port Pins (1/2)
Pin Name I/O
Function
P00
I/O Port 0
P01
4-bit input/output port
Input/output can be specified in 1-bit units.
P02
An on-chip pull-up resistor can be connected by means of software.
P03
P10 to P17 Input Port 1
8-bit input-only port
P20
I/O Port 2
P21
6-bit input/output port
Input/output can be specified in 1-bit units.
P22
An on-chip pull-up resistor can be connected by means of software.
P23
P24
P25
P30
I/O Port 3
N-ch open-drain input/output port
P31
7-bit input/output port The mask option can be used to specify the
Input/output can be connection of an on-chip pull-up resistor to P30, P31.
P32
specified in 1-bit units. LEDs can be driven directly.
P33
P34
An on-chip pull-up resistor can be
P35
connected by means of software.
P36
P40 to P47
I/O Port 4
8-bit input/output port
Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be connected by means of software.
The interrupt request flag (KRIF) is set to 1 by falling edge detection.
P50 to P57
I/O Port 5
8-bit input/output port
LEDs can be driven directly.
Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be connected by means of software.
P64
I/O Port 6
P65
4-bit input/output port
Input/output can be specified in 1-bit units.
P66
An on-chip pull-up resistor can be connected by means of software.
P67
After
Reset
Alternate
Function
Input INTP0
INTP1
INTP2
INTP3/ADTRG
Input ANI0 to ANI7
Input SI30
SO30
SCK30
RxD0
TxD0
ASCK0
Input
—
SDA0
SCL0
—
Input AD0 to AD7
Input A8 to A15
Input
RD
WR
WAIT
ASTB
Data Sheet U14045EJ1V0DS00
11