CHAPTER 11 SERIAL INTERFACE FUNCTION
364
User’s Manual U14359EJ4V0UM
(3/3)
Bit position
Bit name
Function
2
CLn
(n = 0 to 2)
Character Length
Specifies the character length of the transmit/receive data.
0: 7 bits
1: 8 bits
Caution To overwrite the CLn bit, first clear (0) the TXEn and RXEn bits.
1
SLn
(n = 0 to 2)
Stop Bit Length
Specifies the stop bit length of the transmit data.
0: 1 bit
1: 2 bits
Cautions 1. To overwrite the SLn bit, first clear (0) the TXEn bit.
2. Since reception always operates by using a single stop bit
length, the SLn bit setting does not affect receive operations.
0
ISRMn
(n = 0 to 2)
Interrupt Serial Receive Mode
Specifies whether the generation of reception completion interrupt requests when
an error occurs is enable or disabled.
0: A reception error interrupt request (INTSERn) is generated when an error
occurs.
In this case, no reception completion interrupt request (INTSRn) is
generated.
1: A reception completion interrupt request (INTSRn) is generated when an
error occurs.
In this case, no reception error interrupt request (INTSERn) is generated.
Caution To overwrite the ISRMn bit, first clear (0) the RXEn bit.
Remark
When reception is disabled, the receive shift register does not detect a start bit. No shift-in
processing or transfer processing to the receive buffer is performed, and the contents of the receive
buffer are retained.
When reception is enabled, the receive shift operation starts, in synchronization with the detection of
the start bit, and when the reception of one frame is completed, the contents of the receive shift
register are transferred to the receive buffer. A reception completion interrupt (INTSRn) is also
generated, in synchronization with the transfer to the receive buffer.