662
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Figure 23-23 Use 1.5 stop bits to detect parity errors
Interrupt request
The various interrupt events of USART are logical OR relations, if the corresponding enable control bit is set, these
events can generate their own interrupts, but only one interrupt request can be generated at the same time.
Table 23-7 USART interrupt request
Interrupt function
Interrupt event
Event flag
Enable bit
USART global interrupt
Transmission data register is empty.
TXDE
TXDEIEN
CTS flag
CTSF
CTSIEN
Transmission complete
TXC
TXCIEN
Receive data ready to be read
RXDNE
RXDNEIEN
Data overrun error detected.
ORERR
Idle line detected
IDLEF
IDLEIEN
Parity error
PEF
PEIEN
Disconnect flag
LINBDF
LINBDIEN
Bit 7
Parity Bit
1.5 Stop Bit
1 bit time
1.5 bit time
1 bit time
0.5 bit time
sampling at
8th, 9th, 10th
sampling at
8th, 9th, 10th
sampling at
8th, 9th, 10th
sampling at
16th, 17th, 18th