
m
PD78042F, 78043F, 78044F, 78045F
9
3. PINS FUNCTIONS
3.1 PORT PINS (1/2)
Pin name
I/O
Function
On reset
Shared by:
P00
Input
Port 0
Input only
Input
INTP0/TI0
P01
I/O
5-bit I/O port
Can be specified for input or output in 1-bit
Input
INTP1
P02
units. When used as an input port pin, a built-in
INTP2
P03
pull-up resistor can be used by software.
INTP3/CI0
P04
Note 1
Input
Input only
Input
XT1
P10-P17
I/O
Port 1
Input
ANI0-ANI7
8-bit I/O port
Can be specified for input or output in 1-bit units.
When used as an input port pin, a built-in pull-up resistor can be
used by software.
Note 2
P20
I/O
Port 2
Input
SI1
P21
8-bit I/O port
SO1
P22
Can be specified for input or output in 1-bit units.
SCK1
P23
When used as an input port pin, a built-in pull-up resistor can be
STB
P24
used by software.
BUSY
P25
SI0/SB0
P26
SO0/SB1
P27
SCK0
P30
I/O
Port 3
Input
TO0
P31
8-bit I/O port
TO1
P32
Can be specified for input or output in 1-bit units.
TO2
P33
Can directly drive LEDs.
TI1
P34
When used as an input port pin, a built-in pull-up resistor can be
TI2
P35
used by software.
PCL
P36
A pull-down resistor can be connected in 1-bit units by the mask
BUZ
P37
option.
—
Notes 1.
When the P04/XT1 pins is used as an input port pin, bit 6 (FRC) of the processor clock control register
(PCC) must be set to 1. At this time, do not use the feedback resistor of the subsystem clock oscillator
circuit.
2.
When the P10/ANI0 through P17/ANI7 pins are used as the analog input lines of the A/D converter, be
sure to place the port 1 in the input mode. In this case, the built-in pull-up resistors are automatically
unused.