Simple "hello world" style program for X-NUCLEO-IKS01A1 MEMS Inertial

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 X_NUCLEO_IKS01A1 mbed

Fork of HelloWorld_IKS01A1 by ST

Embed: (wiki syntax)

« Back to documentation index

DMA transfers management functions

DMA transfers management functions
[USART_Private_Functions]

DMA transfers management functions. More...

Functions

void USART_DMACmd (USART_TypeDef *USARTx, uint16_t USART_DMAReq, FunctionalState NewState)
 Enables or disables the USART's DMA interface.

Detailed Description

DMA transfers management functions.

 ===============================================================================
                      DMA transfers management functions
 ===============================================================================  


Function Documentation

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 or 6 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:
None

Definition at line 1086 of file stm32f4xx_usart.c.