mPD78042F, 78043F, 78044F, 78045F
3. PINS FUNCTIONS
3.1 PORT PINS (1/2)
Pin name
P00
P01
P02
P03
P04Note 1
P10-P17
P20
P21
P22
P23
P24
P25
P26
P27
P30
P31
P32
P33
P34
P35
P36
P37
I/O
Input
I/O
Input
I/O
I/O
I/O
Function
On reset Shared by:
Port 0
Input only
Input
INTP0/TI0
5-bit I/O port
Can be specified for input or output in 1-bit
Input
INTP1
units. When used as an input port pin, a built-in
INTP2
pull-up resistor can be used by software.
INTP3/CI0
Input only
Input
XT1
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
Port 2
Input
SI1
8-bit I/O port
SO1
Can be specified for input or output in 1-bit units.
SCK1
When used as an input port pin, a built-in pull-up resistor can be
STB
used by software.
BUSY
SI0/SB0
SO0/SB1
SCK0
Port 3
Input
TO0
8-bit I/O port
TO1
Can be specified for input or output in 1-bit units.
TO2
Can directly drive LEDs.
TI1
When used as an input port pin, a built-in pull-up resistor can be
TI2
used by software.
PCL
A pull-down resistor can be connected in 1-bit units by the mask
BUZ
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.
9