
135
CHAPTER 6 PORT FUNCTIONS
Table 6-2. Port Functions (
μ
PD78018FY Subseries)
Shared by:
INTP0/TI0
INTP1
INTP2
INTP3
XT1
ANI0-ANI7
SI1
SO1
SCK1
STB
BUSY
SI0/SB0/SDA0
SO0/SB1/SDA1
SCK0/SCL
TO0
TO1
TO2
TI1
TI2
PCL
BUZ
–
AD0-AD7
A8-A15
–
RD
WR
WAIT
ASTB
Function
Port 0
Port 1
Port 2
Port 3
Port 4
Port 5
Port 6
P00
P01
P02
P03
P04
P10-P17
P20
P21
P22
P23
P24
P25
P26
P27
P30
P31
P32
P33
P34
P35
P36
P37
P40-P47
P50-P57
P60
P61
P62
P63
P64
P65
P66
P67
5-bit I/O port
8-bit I/O port.
Can be specified for input/output bitwise.
When used as input port, internal pull-up resistor can be connected by software.
8-bit I/O port.
Can be specified for input/output bitwise.
When used as input port, internal pull-up resistor can be connected by software.
Pin Name
Input only
Can be specified for input/output bitwise.
When used as input port, internal pull-up resistor can
be connected by software.
Input only
8-bit I/O port.
Can be specified for input/output bitwise.
When used as input port, internal pull-up resistor can be connected by software.
8-bit I/O port.
Can be specified for input/output in 8-bit units.
When used as input port, internal pull-up resistor can be connected by software.
Test input flag (KRIF) is set to 1 at falling edge of these pins.
8-bit I/O port.
Can directly drive LED.
Can be specified for input/output bitwise.
When used as input port, internal pull-up resistor can be connected by software.
8-bit I/O port.
Can be specified for input/output bitwise.
N-ch open drain I/O port.
Internal pull-up resistor can be specified
by mask option with mask ROM model
only.
Can directly drive LED.
When used as input port, internal pull-up
resistor can be connected by software.