UPD78F0138 NEC, UPD78F0138 Datasheet - Page 43

no-image

UPD78F0138

Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
2.2.9 P120 (port 12)
(1) Port mode
(2) Control mode
2.2.10 P130 (port 13)
2.2.11 P140 and P141 (port 14)
output, and buzzer output pins.
(1) Port mode
(2) Control mode
2.2.12 AV
2.2.13 AV
the same potential as the EV
P120 functions as a 1-bit I/O port. This pin also functions as a pin for external interrupt request input.
The following operation modes can be specified.
P130 functions as a 1-bit output-only port.
P140 and P141 function as a 2-bit I/O port. These pins also function as external interrupt request input, clock
The following operation modes can be specified in 1-bit units.
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
This is the A/D converter ground potential pin. Even when the A/D converter is not used, always use this pin with
P120 functions as a 1-bit I/O port. P120 can be set to input or output using port mode register 12 (PM12). Use of
an on-chip pull-up resistor can be specified by pull-up resistor option register 12 (PU12).
P120 functions as an external interrupt request input pin (INTP0) for which the valid edge (rising edge, falling
edge, or both rising and falling edges) can be specified.
P140 and P141 function as a 2-bit I/O port. P140 and P141 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).
P140 and P141 function as external interrupt request input, clock output, and buzzer output pins.
(a) INTP6, INTP7
(b) PCL
(c) BUZ
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.
This is a clock output pin.
This is a buzzer output pin.
REF
SS
SS
pin or V
DD
SS
when it is used as a digital port.
pin.
CHAPTER 2 PIN FUNCTIONS
User’s Manual U16228EJ2V0UD
DD
or V
DD
Note
.
43

Related parts for UPD78F0138