122
CHAPTER 6 PORT FUNCTIONS
Table 6-1. Port Functions (
μ
PD780024, 780034 Subseries)
Alternate
Function
INTP0
INTP1
INTP2
INTP3/ADTRG
ANI0 to ANI7
SI30
SO30
SCK30
RxD0
TxD0
ASCK0
—
SI31
SO31
SCK31
AD0 to AD7
A8 to A15
RD
WR
WAIT
ASTB
TI00/TO0
TI01
TI50/TO50
TI51/TO51
PCL
BUZ
Pin Name
P00
P01
P02
P03
P10 to P17
P20
P21
P22
P23
P24
P25
P30
P31
P32
P33
P34
P35
P36
P40 to P47
P50 to P57
P64
P65
P66
P67
P70
P71
P72
P73
P74
P75
Function
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 1
8-bit input only port.
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.
N-ch open-drain input/output port.
On-chip pull-up resistor can be specified by mask
Input/output mode can be specified
option (Mask version only).
LEDs can be driven directly.
bit-wise.
If used as an input port, an on-chip pull-up resistor
can be specified by software.
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 specified by software.
Interrupt request flag (KRIF) is set to 1 by falling edge detection.
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.
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.
Port 7
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.