DMA transfers management functions.
More...
DMA transfers management functions.
===============================================================================
##### DMA transfers management functions #####
===============================================================================
| void USART_DMACmd |
( |
USART_TypeDef * |
USARTx, |
|
|
uint16_t |
USART_DMAReq, |
|
|
FunctionalState |
NewState |
|
) |
| |
Enables or disables the USART's DMA interface.
- Parameters
-
| USARTx | where x can be 1, 2, 3, 4, 5, 6, 7 or 8 to select the USART or UART peripheral. |
| 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. |
- Return values
-