EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1581
Universal synchronous asynchronous receiver
transmitter (USART)
DocID023800 Rev 1
555/584
23.2.17.2 USART_RequestCmd
Function Name
void USART_RequestCmd ( USART_TypeDef * USARTx,
uint32_t USART_Request, FunctionalState NewState)
Function Description
Enables the specified USART's Request.
Parameters
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.
Return values
None.
Notes
None.
23.2.17.3 USART_OverrunDetectionConfig
Function Name
void USART_OverrunDetectionConfig ( USART_TypeDef *
USARTx, uint32_t USART_OVRDetection)
Function Description
Enables or disables the USART's Overrun detection.
Parameters
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.

Table of Contents

Related product manuals