__HAL_USART_CLEAR_PEFLAG macro
Clear the USART PE pending flag.
Syntax
#define __HAL_USART_CLEAR_PEFLAG(__HANDLE__) \
do{ \
__IO uint32_t tmpreg = 0x00U; \
tmpreg = (__HANDLE__)->Instance->SR; \
tmpreg = (__HANDLE__)->Instance->DR; \
UNUSED(tmpreg); \
} while(0U)
Arguments
__HANDLE__
specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device).
Return value
None