UPD78F0138 NEC, UPD78F0138 Datasheet - Page 307

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
(7) Input switch control register (ISC)
(8) Port mode register 1 (PM1)
The input switch control register (ISC) is used to receive a status signal transmitted from the master during LIN
(Local Interconnect Network) reception. The input signal is switched by setting ISC.
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
This register sets port 1 input/output in 1-bit units.
When using the P13/TxD3 pin for serial interface data output, clear PM13 to 0 and set the output latch of P13 to
1.
When using the P14/RxD6 pin for serial interface data input, set PM14 to 1. The output latch of P14 at this time
may be 0 or 1.
PM1 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to FFH.
Address: FF4FH
Address: FF21H
Symbol
PM1
Symbol
ISC
PM17
PM1n
7
0
1
ISC1
ISC0
7
0
0
1
0
1
After reset: 00H
After reset: FFH
Output mode (output buffer on)
Input mode (output buffer off)
Figure 14-11. Format of Input Switch Control Register (ISC)
PM16
TI000 (P00)
RxD6 (P14)
INTP0 (P120)
RxD6 (P14)
6
Figure 14-12. Format of Port Mode Register 1 (PM1)
6
0
CHAPTER 14 SERIAL INTERFACE UART6
PM15
R/W
5
R/W
P1n pin I/O mode selection (n = 0 to 7)
User’s Manual U16228EJ2V0UD
5
0
PM14
4
INTP0 input source selection
4
0
TI000 input source selection
PM13
3
PM12
3
0
2
PM11
2
0
1
PM10
ISC1
0
1
ISC0
0
307

Related parts for UPD78F0138