Chapter 2 Pin Functions; Pin Function List; Normal Operating Mode - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

2.1 PIN FUNCTION LIST

2.1.1 Normal Operating mode

(1) Ports
Pin
Input/Output
P00-P07
Output
P20
P21
P22
P23
Input
P24
P25
P26
P27
P30
P31
P32
Input/Output
P33
P34-P37
P40-P47
Note 1
Input/Output
Note 1
P50-P57
Input/Output
P60-P63
Output
P64
Note 2
Note 2
P65
Input/Output
P66
P67
P70-P75
Input
Notes 1. In the case of the µ PD78213, these pins do not function as ports.
2. In the case of the µ PD78213, neither P64 nor P65 functions as a port.

CHAPTER 2 PIN FUNCTIONS

Pin name for
secondary
function
Port 0 (P0):
Can be used as two four-bit, real-time output ports. Can drive transistors
directly.
NMI
Port 2 (P2):
Cannot be used as a general-purpose port (non-maskable interrupt). The
INTP0
input level can be checked as part of the interrupt routine. Pins P22 to
INTP1
P27 can be collectively connected to internal pull-up resistors by means
INTP2/CI
of software.
INTP3
INTP4/ASCK
INTP5
SI
RxD
Port 3 (P3):
Each pin can be assigned to be either an input or output pin. Input pins
TxD
can be collectively connected to internal pull-up resistors by means of
SCK
software.
SO/SB0
TO0-TO3
Port 4 (P4):
Can be simultaneously assigned to be either input or output pins. Can be
AD0-AD7
collectively connected to internal pull-up resistors by means of software.
Can directly drive LEDs.
Port 5 (P5):
Each pin can be assigned to be either an input or output pin. Input pins
A8-A15
can be collectively connected to internal pull-up resistors by means of
software. Can directly drive LEDs.
A16-A19
Port 6 (P6):
Each of pins P64 to P67 can be assigned to be either an input or output
RD
pin. Input pins P64 to P67 can be collectively connected to internal pull-
WR
up resistors by means of software.
WAIT/AN6
REFRQ/AN7
AN0-AN5
Port 7 (P7)
Function
2
25

Advertisement

Table of Contents
loading

Table of Contents