P50 To P54 (Port 5); P60, P61 (Port 6) - NEC mPD780852 Series Preliminary User's Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

2.2.6 P50 to P54 (Port 5)

These pins constitute a 5-bit input/output port. In addition, they also function as serial interface data input/output
and clock input/output pins.
The following operation modes can be specified in 1-bit units.
(1) Port mode
In this mode, P50 to P54 function as a 5-bit input/output port. They can be set in the input or output port in 1-
bit units with the port mode register 5 (PM5).
(2) Control mode
In this mode, P50 to P54 function as serial interface data input/output and clock input/output pins.
(a) SI3
Serial interface serial data input pin.
(b) SO3
Serial interface serial data output pin.
(c) SCK3
Serial interface serial clock input/output pin.
(d) RxD, TxD
Asynchronous serial interface serial data input/output pins.

2.2.7 P60, P61 (Port 6)

These pins constitute a 2-bit input/output port. In addition, they also function as clock output, sound generator
signal output, and prescaler signal output pins.
The following operation modes can be specified in 1-bit units.
(1) Port mode
In this mode, P60 and P61 function as a 2-bit input/output port. They can be set in the input or output port in
1-bit units with the port mode register 6 (PM6).
(2) Control mode
In this mode, P60 and P61 function as clock output, sound generator signal output, and prescaler signal output
pins.
(a) PCL
Clock output pin.
(b) SGO
Sound generator (with amplitude) signal output pin.
(c) TPO
Prescaler signal output pin of the 16-bit timer.
40
CHAPTER 2 PIN FUNCTION
Preliminary User's Manual U14581EJ3V0UM00

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780851Mpd780851aMpd780852aMpd78f0852

Table of Contents