Skip to content
Snippets Groups Projects
Commit 7bdbea9a authored by Damien George's avatar Damien George
Browse files

stm32/uart: Clear overrun error flag after reading RX data register.

On MCUs other than F4 the ORE (overrun error) flag needs to be cleared
independently of clearing RXNE, even though both are wired to trigger the
same RXNE IRQ.  In the case that an overrun occurred it's necessary to
explicitly clear the ORE flag or else the RXNE interrupt will keep firing.
parent 0d860fdc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment