UPD78F0138 NEC, UPD78F0138 Datasheet - Page 339

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
(3) Port mode registers 0 and 1 (PM0, PM1)
These registers set port 0 and 1 input/output in 1-bit units.
P02/SO11
and P02 to 0.
When using P10/SCK10 and P04/SCK11
P03/SI11
PM03, and PM05 to 1. At this time, the output latches of P10, P04, P11, P03, and P05 may be 0 or 1.
PM0 and PM1 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets these registers to FFH.
Note
When using P10/SCK10 and P04/SCK11
µ
PD780133, 780134, 78F0134, 780136, 780138, and 78F0138 only.
Note
Note
as the data input pins, and P05/SSI11/TI001 as the chip select input pin, set PM10, PM04, PM11,
as the data output pins, clear PM10, PM04, PM12, PM02, and the output latches of P10, P04, P12,
Address: FF20H
Symbol
Address: FF21H
Symbol
CHAPTER 15 SERIAL INTERFACES CSI10 AND CSI11
Figure 15-7. Format of Port Mode Register 0 (PM0)
Figure 15-8. Format of Port Mode Register 1 (PM1)
PM0
PM1
PM17
PM0n
PM1n
7
1
7
0
1
0
1
PM06
PM16
Output mode (output buffer on)
Input mode (output buffer off)
Output mode (output buffer on)
Input mode (output buffer off)
User’s Manual U16228EJ2V0UD
6
6
Note
Note
After reset: FFH
After reset: FFH
P0n pin I/O mode selection (n = 0 to 6)
P1n pin I/O mode selection (n = 0 to 7)
as the clock input pins of the serial interface, P11/SI10/RxD0 and
as the clock output pins of the serial interface, and P12/SO10 and
PM05
PM15
5
5
PM04
PM14
4
4
PM03
PM13
R/W
R/W
3
3
PM02
PM12
2
2
PM01
PM11
1
1
PM00
PM10
0
0
339

Related parts for UPD78F0138