Datasheet

78K0/Kx2-L CHAPTER 16 SERIAL INTERFACES CSI10 AND CSI11
R01UH0028EJ0400 Rev.4.00 567
Sep 27, 2010
Figure 16-4. Format of Serial Operation Mode Register 10 (CSIM10) (78K0/KB2-L and 78K0/KC2-L)
Address: FF80H After reset: 00H R/W
Note 1
Symbol <7> 6 5 4 3 2 1 0
CSIM10 CSIE10 TRMD10 0 DIR10 0 0 0 CSOT10
CSIE10 Operation control in 3-wire serial I/O mode
0 Disables operation
Note 2
and asynchronously resets the internal circuit
Note 3
.
1 Enables operation
TRMD10
Note 4
Transmit/receive mode control
0
Note 5
Receive mode (transmission disabled).
1 Transmit/receive mode
DIR10
Note 6
First bit specification
0 MSB
1 LSB
CSOT10 Communication status flag
0 Communication is stopped.
1 Communication is in progress.
Notes 1. 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 (refer to Figure 16-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).
Caution Be sure to clear bit 5 to 0.