P140 To P145 (Port 14); Av Ref; Av Ss - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

2.2.11 P140 to P145 (port 14)

P140 to P145 function as a 6-bit I/O port. These pins also function as external interrupt request input, clock output,
buzzer output, serial interface data I/O, clock I/O, busy input, and strobe output pins.
The following operation modes can be specified in 1-bit units.
(1) Port mode
P140 to P145 function as a 6-bit I/O port. P140 to P145 can be set to input or output in 1-bit units using port
mode register 14 (PM14). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 14
(PU14).
(2) Control mode
P140 to P145 function as external interrupt request input, clock output, buzzer output, serial interface data I/O,
clock I/O, busy input, and strobe output pins.
(a) INTP6, INTP7
These are the external interrupt request input pins for which the valid edge (rising edge, falling edge, or both
rising and falling edges) can be specified.
(b) PCL
This is a clock output pin.
(c) BUZ
This is a buzzer output pin.
(d) SIA0
This is a serial interface serial data input pin.
(e) SOA0
This is a serial interface serial data output pin.
(f) SCKA0
This is a serial interface serial clock I/O pin.
(g) BUSY0
This is a serial interface busy input pin.
(h) STB0
This is a serial interface strobe output pin.
2.2.12 AV
REF
This is the A/D converter reference voltage input pin.
When the A/D converter is not used, connect this pin directly to EV
Note Connect port 2 directly to EV
2.2.13 AV
SS
This is the A/D converter ground potential pin. Even when the A/D converter is not used, always use this pin with
the same potential as the EV
CHAPTER 2 PIN FUNCTIONS
*
when it is used as a digital port.
DD
pin or V
pin.
SS
SS
User's Manual U15947EJ2V0UD
Note
or V
.
DD
DD
55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents