HAL
__HAL_USART_CLEAR_FLAG is only used within HAL.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

None

Notes

PE (Parity error), FE (Framing error), NE (Noise error), ORE (Overrun error) and IDLE (Idle line detected) flags are cleared by software sequence: a read operation to USART_SR register followed by a read operation to USART_DR register. RXNE flag can be also cleared by a read to the USART_DR register. TC flag can be also cleared by software sequence: a read operation to USART_SR register followed by a write operation to USART_DR register. TXE flag is cleared only by a write to the USART_DR register.

References

from examples