
13
μ
PD784035, 784036, 784037, 784038
6. PIN FUNCTIONS
6.1 Port Pins
(1/2)
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 the pull-up resistors can be specified by software for the pins
in the input mode together.
Can drive a transistor.
Port 1 (P1):
8-bit I/O port.
Inputs and outputs can be specified bit by bit.
The use of the pull-up resistors can be specified by software for the pins
in the input mode together.
Can drive LED.
Port 2 (P2):
8-bit input-only port.
P20 does not function as a general-purpose port (nonmaskable inter-
rupt). However, the input level can be checked by an interrupt service
routine.
The use of the 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 output pin by
CSIM1.
Port 3 (P3):
8-bit I/O port.
Inputs and outputs can be specified bit by bit.
The use of the pull-up resistors can be specified by software for the pins
in the input mode together.
Port 4 (P4):
8-bit I/O port.
Inputs and outputs can be specified bit by bit.
The use of the pull-up resistors can be specified by software for the pins
in the input mode together.
Can drive LED.
Port 5 (P5):
8-bit I/O port.
Inputs and outputs can be specified bit by bit.
The use of the pull-up resistors can be specified by software for the pins
in the input mode together.
Can drive LED.
I/O
I/O
I/O
Input
I/O
I/O
I/O
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
P50-P57
Dual-function
-
PWM0
PWM1
ASCK2/SCK2
RxD2/SI2
TxD2/SO2
-
NMI
INTP0
INTP1
INTP2/CI
INTP3
INTP4/ASCK/SCK1
INTP5
SI0
RxD/SI1
TxD/SO1
SCK0/SCL
SO0/SDA
TO0-TO3
AD0-AD7
A8-A15