ST STM32F2 User Manual page 686

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

HAL USART Generic Driver
__HAL_USART_CLEAR_PEFLAG
__HAL_USART_CLEAR_FEFLAG
686/1371
DocID028236 Rev 2
6 to select the USART peripheral.
__FLAG__: specifies the flag to
check. This parameter can be any
combination of the following values:
USART_FLAG_TC:
Transmission Complete flag.
USART_FLAG_RXNE:
Receive data register not
empty flag.
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.
Description:
Clear the USART PE pending flag.
Parameters:
__HANDLE__: specifies the
USART Handle. This parameter
can be USARTx where x: 1, 2, 3 or
6 to select the USART peripheral.
Return value:
None
Description:
Clear the USART FE pending flag.
Parameters:
__HANDLE__: specifies the
USART Handle. This parameter
can be USARTx where x: 1, 2, 3 or
6 to select the USART peripheral.
Return value:
None
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF