UPD78F0138 NEC, UPD78F0138 Datasheet - Page 334

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
15.3 Registers Controlling Serial Interfaces CSI10 and CSI11
(1) Serial operation mode register 1n (CSIM1n)
334
Address: FF80H After reset: 00H R/W
CSIM10
Serial interfaces CSI10 and CSI11 are controlled by the following four registers.
• Serial operation mode register 1n (CSIM1n)
• Serial clock selection register 1n (CSIC1n)
• Port mode register 0 (PM0) or port mode register 1 (PM1)
• Port register 0 (P0) or port register 1 (P1)
Notes 1.
Caution Be sure to clear bit 5 to 0.
Symbol
CSIM1n is used to select the operation mode and enable or disable operation.
CSIM1n can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
Remark n = 0:
2.
3.
4.
5.
6.
TRMD10
n = 0, 1:
DIR10
Bit 0 is a read-only bit.
When using as a general-purpose port, see Caution 3 of Figure 15-5 and Table 15-2.
Bit 0 (CSOT10) of CSIM10 and serial I/O shift register 10 (SIO10) are reset.
Do not rewrite TRMD10 when CSOT10 = 1 (during serial communication).
The SO10 output is fixed to the low level when TRMD10 is 0. Reception is started when data is read
from SIO10.
Do not rewrite DIR10 when CSOT10 = 1 (during serial communication).
CSOT10
CSIE10
CSIE10
0
<7>
Note 5
0
1
1
0
1
0
1
Note 6
Note 4
Figure 15-3. Format of Serial Operation Mode Register 10 (CSIM10)
µ
µ
PD780131, 780132
PD780133, 780134, 78F0134, 780136, 780138, 78F0138
Disables operation
Enables operation
Receive mode (transmission disabled).
Transmit/receive mode
MSB
LSB
Communication is stopped.
Communication is in progress.
TRMD10
CHAPTER 15 SERIAL INTERFACES CSI10 AND CSI11
6
Note 1
Note 2
5
0
User’s Manual U16228EJ2V0UD
and asynchronously resets the internal circuit
Operation control in 3-wire serial I/O mode
DIR10
4
Transmit/receive mode control
Communication status flag
First bit specification
3
0
2
0
Note 3
.
1
0
CSOT10
0

Related parts for UPD78F0138