commit | 95e2c39497c5d7db0135db2918dcee21541b0261 | [log] [tgz] |
---|---|---|
author | Francois Ramu <francois.ramu@st.com> | Tue Oct 26 11:39:57 2021 +0200 |
committer | Maureen Helm <maureen.helm@intel.com> | Thu Nov 04 09:45:11 2021 -0500 |
tree | 47db43eacb0e0ead9ca96bf318095839e12969d8 | |
parent | 608b358d6bcd3262fcf6a8839a463be42bca1201 [diff] |
drivers: uart stm32 flushing Rx register once the RXNE irq is enabled When the "Read data register not empty" irq occurs, this commit is cleaning the RXNE flag by flushing the RX register since the Receive Data Reg. (USART_RDR) has not be read previously This could be the case when aborting a Rx for example. Signed-off-by: Francois Ramu <francois.ramu@st.com>