Registers Controlling Serial Interface Csi10 - NEC mPD78F0730 Preliminary User's Manual

8-bit single-chip microcontroller
Table of Contents

Advertisement

11.3 Registers Controlling Serial Interface CSI10

Serial interface CSI10 is controlled by the following four registers.
• Serial operation mode register 10 (CSIM10)
• Serial clock selection register 10 (CSIC10)
• Port mode register 1 (PM1)
• Port port register 1 (P1)
(1) Serial operation mode register 10 (CSIM10)
CSIM10 is used to select the operation mode and enable or disable operation.
CSIM10 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to 00H.
Address: FF80H After reset: 00H R/W
Symbol
CSIM10
Notes 1.
Caution Be sure to clear bits 1 to 3 and 5 to 0.
Downloaded from
Elcodis.com
electronic components distributor
CHAPTER 11 SERIAL INTERFACE CSI10
Figure 11-2. Format of Serial Operation Mode Register 10 (CSIM10)
Note 1
<7>
6
CSIE10
TRMD10
CSIE10
0
Disables operation
1
Enables operation
Note 4
TRMD10
Note 5
0
Receive mode (transmission disabled).
1
Transmit/receive mode
Note 6
DIR10
0
MSB
1
LSB
CSOT10
0
Communication is stopped.
1
Communication is in progress.
Bit 0 is a read-only bit.
2.
To use P10/SCK10 and P12/SO10 as general-purpose ports, set CSIM10 in the default status (00H).
3.
Bit 0 (CSOT10) of CSIM10 and serial I/O shift register 10 (SIO10) are reset.
4.
Do not rewrite TRMD10 when CSOT10 = 1 (during serial communication).
5.
The SO10 output (see (a) in Figure 11-1) is fixed to the low level when TRMD10 is 0. Reception is
started when data is read from SIO10.
6.
Do not rewrite DIR10 when CSOT10 = 1 (during serial communication).
5
4
0
DIR10
Operation control in 3-wire serial I/O mode
Note 2
and asynchronously resets the internal circuit
Transmit/receive mode control
First bit specification
Communication status flag
Preliminary User's Manual U19014EJ1V0UD
3
2
1
0
0
0
Note 3
.
0
CSOT10
257

Advertisement

Table of Contents
loading

Table of Contents