P20 To P27 (Port 2) - NEC 78014Y Series User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

3.2.3 P20 to P27 (Port 2)

These are 8-bit input/output ports. Besides serving as input/output ports, they function as data input/output to/
from the serial interface, clock input/output, automatic transmit/receive busy input, and strobe output functions.
The following operating modes can be specified bit-wise.
(1) Port mode
These ports function as 8-bit input/output ports. They can be specified bit-wise as input or output ports with a
port mode register 2 (PM2). When they are used as input ports, an on-chip pull-up resistor can be connected
to them with a pull-up resistor option register (PUO).
(2) Control mode
These ports function as serial interface data input/output, clock input/output, automatic transmit/receive busy
input, and strobe output.
(a) SI0, SI1, SO0, SO1
(b) SCK0 and SCK1
(c) SB0 and SB1
(d) BUSY
www.DataSheet4U.com
(e) STB
Caution
CHAPTER 3 PIN FUNCTION ( µ PD78014 Subseries)
Serial interface serial data input/output pins
Serial interface serial clock input/output pins
NEC standard serial bus interface input/output pins
Serial interface automatic transmit/receive busy input pins
Serial interface automatic transmit/receive strobe output pins
When these ports are used as pins of serial interface, set the input/output and output latches
depending on their functions. For the setting method, refer to Figure 15-5 Serial Operating Mode
Register 0 Format and Figure 17-3 Serial Operating Mode Register 1 Format.
69

Advertisement

Table of Contents
loading

Table of Contents