English
Language : 

UPD78320 Datasheet, PDF (32/88 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLER
µPD78320, 78322
3.5 PORT FUNCTIONS
Table 3-1 lists the digital input/output ports.
Each port can carry out many control operations including 8 and other bit data input/output manipulations.
Table 3-1. Port Functions and Features
Port Name
Function
Feature
Remarks
Port 0
8-bit input/outpput
Specifiable bit-wise for input/output.
Also specifiable for realtime output port..
Dual-function as pins
RTP0 to RTP7
Port 2
8-bit input
Input port pin. Functions as an external interrupt input.
Dual-function as pins NMI,
INTP0 to INTP5, INTP6/TI
Port 3
5-bit input/output
Specifiable bit-wise for port pins or control pins.
Dual-function as pins
TXD, RXD, SO/SB0, SI/SB1,
SCK
Port 4
8-bit input/output
Specifiable in 8-bit units for input or output.
Functions as the multiplexed address/data bus (AD0 to
AD7) in the external memory expansion mode.
––––––––
Port 5
8-bit input/output
Specifiable bit-wise for input or output.
Functions as the address bus (A8 to A15) in the external
memory expansion mode.
Pins which are not used as the address bus can be used
as a port.
––––––––
Port 7
8-bit input
Input port pin. Also functions as analog input to the
A/D converter.
Dual-function as pins
AN0 to AN7
Port 8
6-bit input/output
Specifiable bit-wise for the port pin or control pin.
Port 9
4-bit input/output
Specifiable bit-wise for input/output.
P90 and P91 function as RD output and WR output,
respectively, in the external memory expansion mode.
P92 and P93 function as TAS output and TMD output,
respectively, in the external memory high-speed fetch
mode.
Dual-function as pins
TO00 to TO03, TO10 to
TO11
––––––––
32