UPD78F0138 NEC, UPD78F0138 Datasheet - Page 41

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.2 P10 to P17 (port 1)
interface data I/O, clock I/O, and timer I/O.
(1) Port mode
(2) Control mode
2.2.3 P20 to P27 (port 2)
(1) Port mode
(2) Control mode
P10 to P17 function as an 8-bit I/O port. These pins also function as pins for external interrupt request input, serial
The following operation modes can be specified in 1-bit units.
P20 to P27 function as an 8-bit input-only port. These pins also function as pins for A/D converter analog input.
The following operation modes can be specified in 1-bit units.
P10 to P17 function as an 8-bit I/O port. P10 to P17 can be set to input or output in 1-bit units using port mode
register 1 (PM1). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 1 (PU1).
P10 to P17 function as external interrupt request input, serial interface data I/O, clock I/O, and timer I/O.
(a) SI10
(b) SO10
(c) SCK10
(d) RxD0, RxD6
(e) TxD0, TxD6
(f) TI50
(g) TO50, TOH0, and TOH1
(h) INTP5
P20 to P27 function as an 8-bit input-only port.
P20 to P27 function as A/D converter analog input pins (ANI0 to ANI7). When using these pins as analog input
pins, see (5) ANI0/P20 to ANI7/P27 in 12.6 Cautions for A/D Converter.
This is a serial interface serial data input pin.
This is a serial interface serial data output pin.
This is a serial interface serial clock I/O pin.
These are the serial data input pins of the asynchronous serial interface.
These are the serial data output pins of the asynchronous serial interface.
This is the pin for inputting an external count clock to 8-bit timer/event counter 50.
These are timer output pins.
This is an external interrupt request input pin for which the valid edge (rising edge, falling edge, or both rising
and falling edges) can be specified.
CHAPTER 2 PIN FUNCTIONS
User’s Manual U16228EJ2V0UD
41

Related parts for UPD78F0138