Universal synchronous asynchronous receiver
transmitter (USART)
23.2.17.2 USART_RequestCmd
void USART_RequestCmd ( USART_TypeDef * USARTx,
uint32_t USART_Request, FunctionalState NewState)
Enables the specified USART's Request.
ï‚· USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
ï‚· USART_Request : specifies the USART request. This
parameter can be any combination of the following values:
ï€ USART_Request_TXFRQ : Transmit data flush
ReQuest
ï€ USART_Request_RXFRQ : Receive data flush
ReQuest
ï€ USART_Request_MMRQ : Mute Mode ReQuest
ï€ USART_Request_SBKRQ : Send Break ReQuest
ï€ USART_Request_ABRRQ : Auto Baud Rate ReQuest
ï‚· NewState : new state of the DMA interface when reception
error occurs. This parameter can be: ENABLE or DISABLE.
23.2.17.3 USART_OverrunDetectionConfig
void USART_OverrunDetectionConfig ( USART_TypeDef *
USARTx, uint32_t USART_OVRDetection)
Enables or disables the USART's Overrun detection.
ï‚· USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
ï‚· USART_OVRDetection : specifies the OVR detection status
in case of OVR error. This parameter can be any combination
of the following values:
ï€ USART_OVRDetection_Enable : OVR error detection
enabled when the USART OVR error is asserted.
ï€ USART_OVRDetection_Disable : OVR error detection
disabled when the USART OVR error is asserted.