UM1581
Return values
Notes
23.2.16
DMA transfers management functions
23.2.16.1 USART_DMACmd
Function Name
Function Description
Parameters
Return values
Notes
23.2.16.2 USART_DMAReceptionErrorConfig
Function Name
Function Description
Parameters
Universal synchronous asynchronous receiver
de-activation of the DE signal
None.
None.
void USART_DMACmd (
USART_DMAReq,
FunctionalState
Enables or disables the USART's DMA interface.
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4.
USART_DMAReq : specifies the DMA request. This
parameter can be any combination of the following values:
USART_DMAReq_Tx :
USART_DMAReq_Rx :
NewState : new state of the DMA Request sources. This
parameter can be: ENABLE or DISABLE.
None.
None.
void USART_DMAReceptionErrorConfig (
USARTx, uint32_t USART_DMAOnError)
Enables or disables the USART's DMA interface when reception
error occurs.
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4.
USART_DMAOnError : specifies the DMA status in case of
reception error. This parameter can be any combination of the
following values:
DocID023800 Rev 1
transmitter (USART)
USART_TypeDef *
USARTx, uint32_t
NewState)
USART DMA transmit request
USART DMA receive request
USART_TypeDef *
553/584
Need help?
Do you have a question about the STM32F31xx and is the answer not in the manual?