UPD78F0138 NEC, UPD78F0138 Datasheet - Page 93

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
4.2.1 Port 0
using port mode register 0 (PM0). When the P00 to P06 pins are used as an input port, use of an on-chip pull-up
resistor can be specified in 1-bit units by pull-up resistor option register 0 (PU0).
Port 0 is a 7-bit I/O port with an output latch. Port 0 can be set to the input mode or output mode in 1-bit units
This port can also be used for timer I/O, serial interface data I/O, and clock I/O.
RESET input sets port 0 to input mode.
Figures 4-2 to 4-5 show block diagrams of port 0.
Caution When P02/SO11
Note Available only in the
WR
WR
WR
RD
PU0:
PM0:
RD:
WR××: Write signal
PORT
PM
PU
write to serial clock selection register 11 (CSIC11).
Read signal
Pull-up resistor option register 0
Port mode register 0
Alternate function
PU00, PU03, PU05
(P00, P03, P05)
PM00, PM03, PM05
Output latch
PU0
PM0
µ
Note
PD780133, 780134, 78F0134, 780136, 780138, and 78F0138.
Figure 4-2. Block Diagram of P00, P03, and P05
, P03/SI11
CHAPTER 4 PORT FUNCTIONS
Note
User’s Manual U16228EJ2V0UD
, and P04/SCK11
Note
are used as general-purpose ports, do not
EV
DD
P-ch
P00/TI000,
P03/SI11
P05/SSI11
Note
Note
,
/TI001
Note
93

Related parts for UPD78F0138