Universal synchronous asynchronous receiver
transmitter (USART)
de-activation of the DE signal
23.2.16 DMA transfers management functions
23.2.16.1 USART_DMACmd
void USART_DMACmd ( USART_TypeDef * USARTx, uint32_t
USART_DMAReq, FunctionalState NewState)
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 DMA transmit request
ï€ USART_DMAReq_Rx : USART DMA receive request
ï‚· NewState : new state of the DMA Request sources. This
parameter can be: ENABLE or DISABLE.
23.2.16.2 USART_DMAReceptionErrorConfig
void USART_DMAReceptionErrorConfig ( USART_TypeDef *
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: