UM1940
__HAL_USART_CLEAR_NEFLAG
__HAL_USART_CLEAR_OREFLAG
__HAL_USART_CLEAR_IDLEFLAG
__HAL_USART_ENABLE_IT
DocID028236 Rev 2
HAL USART Generic Driver
Description:
Clear the USART NE 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 UART ORE 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 IDLE 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:
Enables or disables the specified
USART interrupts.
Parameters:
__HANDLE__: specifies the
USART Handle. This parameter
can be USARTx where x: 1, 2, 3 or
6 to select the USART peripheral.
__INTERRUPT__: specifies the
USART interrupt source to check.
This parameter can be one of the
following values:
USART_IT_TXE: Transmit
Data Register empty interrupt
USART_IT_TC: Transmission
complete interrupt
687/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers