|
UPD784031 Datasheet, PDF (12/90 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLER | |||
|
◁ |
µPD784031
6. LIST OF PIN FUNCTIONS
6.1 Port Pins
Pin
P00-P07
P10
P11
P12
P13
P14
P15-P17
P20
P21
P22
P23
P24
P25
P26
P27
P30
P31
P32
P33
P34-P37
P60-P63
P66
P67
P70-P77
I/O
I/O
I/O
Input
I/O
I/O
I/O
Dual-function
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.
PWM0
Port 1 (P1):
PWM1
⢠8-bit I/O port.
ASCK2/SCK2
⢠Inputs and outputs can be specified bit by bit.
RxD2/SI2
TxD2/SO2
-
⢠The use of the pull-up resistors can be specified by software for the pins
in the input mode together.
⢠Can drive LED.
NMI
Port 2 (P2):
INTP0
⢠8-bit input-only port.
INTP1
INTP2/CI
INTP3
INTP4/ASCK/SCK1
⢠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).
INTP5
SI0
⢠The P25/INTP4/ASCK/SCK1 pin functions as the SCK1 output pin by
CSIM1.
RxD/SI1
Port 3 (P3):
TxD/SO1
⢠8-bit I/O port.
SCK0/SCL
⢠Inputs and outputs can be specified bit by bit.
SO0/SDA
TO0-TO3
⢠The use of the pull-up resistors can be specified by software for the pins
in the input mode together.
A16-A19
Port 6 (P6):
WAIT/HLDRQ
⢠P60 to P63 are an output-only port.
REFRQ/HLDAK
⢠Inputs and outputs can be specified bit by bit for pins P66 and P67.
⢠The use of the pull-up resistors can be specified by software for the pins
in the input mode together.
ANI0-ANI7
Port 7 (P7):
⢠8-bit I/O port.
⢠Inputs and outputs can be specified bit by bit.
12
|
▷ |