CHAPTER 20 UART/SIO
The transmission operation control bit (SMC20.TXE) is used.
How to set parity
The parity control (SMC10.PEN) and parity polarity (SMC10.TDP) bits are used.
When selecting no parity
When selecting even parity
When selecting odd parity
How to set the data length
The data length selection bit (SMC10.CBL[1:0]) is used.
How to select the STOP bit length
The STOP bit length control bit (SMC10.SBL) is used.
How to clear error flags
The reception error flag clear bit (SMC20.RERC) is used.
358
What is controlled
Disabling (stopping) transmission
Enabling transmission
Operation
Operation
When selecting 5-bit length
When selecting 6-bit length
When selecting 7-bit length
When selecting 8-bit length
Operation
When setting STOP bit to 1-bit length
When setting STOP bit to 2-bit length
What is controlled
When clearing error flags (PE, OFE, PRE)
Transmission operation control bit (TXE)
Parity control (SMC10.PEN)
Set the bit to "0"
Set the bit to "1"
Set the bit to "1"
Set the bit to "0"
Set the bit to "1"
Parity polarity (SMC10,TDP)
-
Set the bit to "0"
Set the bit to "1"
Data length selection bit (CBL[1:0])
Specify "00"
Specify "01"
Specify "10"
Specify "11"
STOP bit length control (SBL)
Set SBL to "0"
Set SBL to "1"
Reception error flag clear bit (RERC)
Write "0"