µPD78F4937
4. LIST OF PIN FUNCTIONS
4.1 Port Pins (1/2)
Pin
P00-P07
P10
P11
P12
P13
P14
P15-P17
P20
P21
P22
P23
P24
P25
P26
P27
P30
P31
P32
P33
P34-P37
P40-P47
I/O
I/O
I/O
Input
I/O
I/O
Dual-function
−
−
−
ASCK2/SCK2
RxD2/SI2
TxD2/SO2
−
NMI
INTP0
INTP1
INTP2/CI
INTP3
INTP4/ASCK/SCK1
INTP5
SI0
RxD/SI1
TxD/SO1
SCK0
SO0
TO0-TO3
AD0-AD7
Function
Port 0 (P0):
• 8-bit I/O port.
• Functions as a real-time output port (4 bits × 2).
• Inputs and outputs can be specified bit by bit.
• The use of pull-up resistors can be simultaneously specified by software
for all pins in input mode.
• Can drive a transistor.
Port 1 (P1):
• 8-bit I/O port.
• Inputs and outputs can be specified bit by bit.
• The use of pull-up resistors can be simultaneously specified by software
for all pins in input mode.
• Can drive LED.
Port 2 (P2):
• 8-bit input-only port.
• P20 does not function as a general-purpose port (nonmaskable interrupt).
However, the input level can be checked by an interrupt service routine.
• The use of pull-up resistors can be specified by software for pins P22 to
P27 (in units of 6 bits).
• The P25/INTP4/ASCK/SCK1 pin functions as the SCK1 I/O pin by CSIM1.
Port 3 (P3):
• 8-bit I/O port.
• Inputs and outputs can be specified bit by bit.
• The use of pull-up resistors can be simultaneously specified by software
for all pins in input mode.
• P32 and P33 can be set as the N-ch open-drain pin.
Port 4 (P4):
• 8-bit I/O port.
• Inputs and outputs can be specified bit by bit.
• The use of pull-up resistors can be simultaneously specified by software
for all pins in input mode.
• Can drive LED.
Preliminary Product Information
11