
75
CHAPTER 4 PIN FUNCTION (
μ
PD780024Y, 780034Y SUBSERIES)
4.1 Pin Function List
(1) Port Pins (1/2)
Pin Name
Input/Output
Function
After Reset
Alternate
Function
P00
Input/Output
Input
INTP0
P01
INTP1
P02
INTP2
P03
INTP3/ADTRG
P10 to P17
Input
Port 1
8-bit input only port.
Input
ANI0 to ANI7
P20
Input/Output
Input
SI30
P21
SO30
P22
SCK30
P23
RxD0
P24
TxD0
P25
ASCK0
P30
Input/Output
Input
—
P31
P32
SDA0
P33
SCL0
P34
—
P35
P36
P40 to P47
Input/Output
Port 4
8-bit input/output port
Input/output mode can be specified bit-wise.
If used as an input port, an on-chip pull-up resistor can be
used by software.
Interrupt request flag (KRIF) is set to 1 by falling edge
detection.
Input
AD0 to AD7
P50 to P57
Input/Output
Port 5
8-bit input/output port
LEDs can be driven directly.
Input/output mode can be specified bit-wise.
If used as an input port, an on-chip pull-up resistor can be
used by software.
Input
A8 to A15
P64
Input/Output
Input
RD
P65
WR
P66
WAIT
P67
ASTB
Port 0
4-bit input/output port
Input/output mode can be specified bit-wise.
If used as an input port, an on-chip pull-up resistor can be
used by software.
Port 2
6-bit input/output port
Input/output mode can be specified bit-wise.
If used as an input port, an on-chip pull-up resistor can be
used by software.
Port 3
7-bit input/output
port
Input/output
mode
can be specified
bit-wise.
N-ch open-drain input/output port
On-chip pull-up resistor can be
specified by mask option.
(P30 and P31 are Mask ROM version only.)
LEDs can be driven directly.
If used as an input port, an on-chip
pull-up resistor can be used by
software.
Port 6
4-bit input/output port
Input/output mode can be specified bit-wise.
If used as an input port, an on-chip pull-up resistor can be
used by software.