commit | cf6063939052a732169c5a6360a91da8c6aa54b0 | [log] [tgz] |
---|---|---|
author | Francois Ramu <francois.ramu@st.com> | Mon Nov 08 11:43:53 2021 +0100 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Tue Nov 09 15:43:48 2021 -0500 |
tree | 9b58485eeae3fa999defe46e74c25aeb28f804ce | |
parent | c71949c885ef2d10795a9a40be280f45bae1906b [diff] |
drivers: serial: stm32 usart driver clears the RXNE through flag For some stm32 soc devices, the USART (or UART) flag RXNE is cleared by the LL_USART_ClearFlag_RXNE function which directly writes the RXNE bit of the Status register. This is the case with the stm32F1x, stm32F2x,stm32F4x, stm32L1x. Some other are using the Rx Data Flushing function. Signed-off-by: Francois Ramu <francois.ramu@st.com>