Universal synchronous asynchronous receiver transmitter (USART) UM0306
408/519
Bit 1
FE: Framing Error.
This bit is set by hardware when a de-synchronization, excessive noise or a
break character is detected. It is cleared by a software sequence (an read to the
USART_SR register followed by a read to the USART_DR register).
0: No Framing error is detected
1: Framing error or break character is detected
Note:
This bit does not generate interrupt as it appears at the same time as the RXNE bit
which itself generates an interrupt. If the word currently being transferred causes
both frame error and overrun error, it will be transferred and only the ORE bit will be
set.
An interrupt is generated on FE flag in case of Multi Buffer communication if the EIE
bit is set.
Bit 0
PE: Parity Error.
This bit is set by hardware when a parity error occurs in receiver mode. It is
cleared by a software sequence (a read to the status register followed by a read
to the USART_DR data register). An interrupt is generated if PEIE=1 in the
USART_CR1 register.
0: No parity error
1: Parity error