STM32F439xx HAL User Manual
Functions
Configuration
DMA Exported Functions

Functions

__STATIC_INLINE void LL_DMA_EnableStream (DMA_TypeDef *DMAx, uint32_t Stream)
 Enable DMA stream.
__STATIC_INLINE void LL_DMA_DisableStream (DMA_TypeDef *DMAx, uint32_t Stream)
 Disable DMA stream.
__STATIC_INLINE uint32_t LL_DMA_IsEnabledStream (DMA_TypeDef *DMAx, uint32_t Stream)
 Check if DMA stream is enabled or disabled.
__STATIC_INLINE void LL_DMA_ConfigTransfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Configuration)
 Configure all parameters linked to DMA transfer.
__STATIC_INLINE void LL_DMA_SetDataTransferDirection (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Direction)
 Set Data transfer direction (read from peripheral or from memory).
__STATIC_INLINE uint32_t LL_DMA_GetDataTransferDirection (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Data transfer direction (read from peripheral or from memory).
__STATIC_INLINE void LL_DMA_SetMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mode)
 Set DMA mode normal, circular or peripheral flow control.
__STATIC_INLINE uint32_t LL_DMA_GetMode (DMA_TypeDef *DMAx, uint32_t Stream)
 Get DMA mode normal, circular or peripheral flow control.
__STATIC_INLINE void LL_DMA_SetPeriphIncMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode)
 Set Peripheral increment mode.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphIncMode (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Peripheral increment mode.
__STATIC_INLINE void LL_DMA_SetMemoryIncMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode)
 Set Memory increment mode.
__STATIC_INLINE uint32_t LL_DMA_GetMemoryIncMode (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Memory increment mode.
__STATIC_INLINE void LL_DMA_SetPeriphSize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size)
 Set Peripheral size.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphSize (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Peripheral size.
__STATIC_INLINE void LL_DMA_SetMemorySize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size)
 Set Memory size.
__STATIC_INLINE uint32_t LL_DMA_GetMemorySize (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Memory size.
__STATIC_INLINE void LL_DMA_SetIncOffsetSize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t OffsetSize)
 Set Peripheral increment offset size.
__STATIC_INLINE uint32_t LL_DMA_GetIncOffsetSize (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Peripheral increment offset size.
__STATIC_INLINE void LL_DMA_SetStreamPriorityLevel (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Priority)
 Set Stream priority level.
__STATIC_INLINE uint32_t LL_DMA_GetStreamPriorityLevel (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Stream priority level.
__STATIC_INLINE void LL_DMA_SetDataLength (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t NbData)
 Set Number of data to transfer.
__STATIC_INLINE uint32_t LL_DMA_GetDataLength (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Number of data to transfer.
__STATIC_INLINE void LL_DMA_SetChannelSelection (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Channel)
 Select Channel number associated to the Stream.
__STATIC_INLINE uint32_t LL_DMA_GetChannelSelection (DMA_TypeDef *DMAx, uint32_t Stream)
 Get the Channel number associated to the Stream.
__STATIC_INLINE void LL_DMA_SetMemoryBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mburst)
 Set Memory burst transfer configuration.
__STATIC_INLINE uint32_t LL_DMA_GetMemoryBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Memory burst transfer configuration.
__STATIC_INLINE void LL_DMA_SetPeriphBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Pburst)
 Set Peripheral burst transfer configuration.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Peripheral burst transfer configuration.
__STATIC_INLINE void LL_DMA_SetCurrentTargetMem (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t CurrentMemory)
 Set Current target (only in double buffer mode) to Memory 1 or Memory 0.
__STATIC_INLINE uint32_t LL_DMA_GetCurrentTargetMem (DMA_TypeDef *DMAx, uint32_t Stream)
 Set Current target (only in double buffer mode) to Memory 1 or Memory 0.
__STATIC_INLINE void LL_DMA_EnableDoubleBufferMode (DMA_TypeDef *DMAx, uint32_t Stream)
 Enable the double buffer mode.
__STATIC_INLINE void LL_DMA_DisableDoubleBufferMode (DMA_TypeDef *DMAx, uint32_t Stream)
 Disable the double buffer mode.
__STATIC_INLINE uint32_t LL_DMA_GetFIFOStatus (DMA_TypeDef *DMAx, uint32_t Stream)
 Get FIFO status.
__STATIC_INLINE void LL_DMA_DisableFifoMode (DMA_TypeDef *DMAx, uint32_t Stream)
 Disable Fifo mode.
__STATIC_INLINE void LL_DMA_EnableFifoMode (DMA_TypeDef *DMAx, uint32_t Stream)
 Enable Fifo mode.
__STATIC_INLINE void LL_DMA_SetFIFOThreshold (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Threshold)
 Select FIFO threshold.
__STATIC_INLINE uint32_t LL_DMA_GetFIFOThreshold (DMA_TypeDef *DMAx, uint32_t Stream)
 Get FIFO threshold.
__STATIC_INLINE void LL_DMA_ConfigFifo (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t FifoMode, uint32_t FifoThreshold)
 Configure the FIFO .
__STATIC_INLINE void LL_DMA_ConfigAddresses (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Direction)
 Configure the Source and Destination addresses.
__STATIC_INLINE void LL_DMA_SetMemoryAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
 Set the Memory address.
__STATIC_INLINE void LL_DMA_SetPeriphAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t PeriphAddress)
 Set the Peripheral address.
__STATIC_INLINE uint32_t LL_DMA_GetMemoryAddress (DMA_TypeDef *DMAx, uint32_t Stream)
 Get the Memory address.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphAddress (DMA_TypeDef *DMAx, uint32_t Stream)
 Get the Peripheral address.
__STATIC_INLINE void LL_DMA_SetM2MSrcAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
 Set the Memory to Memory Source address.
__STATIC_INLINE void LL_DMA_SetM2MDstAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
 Set the Memory to Memory Destination address.
__STATIC_INLINE uint32_t LL_DMA_GetM2MSrcAddress (DMA_TypeDef *DMAx, uint32_t Stream)
 Get the Memory to Memory Source address.
__STATIC_INLINE uint32_t LL_DMA_GetM2MDstAddress (DMA_TypeDef *DMAx, uint32_t Stream)
 Get the Memory to Memory Destination address.
__STATIC_INLINE void LL_DMA_SetMemory1Address (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Address)
 Set Memory 1 address (used in case of Double buffer mode).
__STATIC_INLINE uint32_t LL_DMA_GetMemory1Address (DMA_TypeDef *DMAx, uint32_t Stream)
 Get Memory 1 address (used in case of Double buffer mode).

Function Documentation

__STATIC_INLINE void LL_DMA_ConfigAddresses ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  SrcAddress,
uint32_t  DstAddress,
uint32_t  Direction 
)

Configure the Source and Destination addresses.

Note:
This API must not be called when the DMA stream is enabled.
Reference Manual to LL API cross reference:
M0AR M0A LL_DMA_ConfigAddresses
PAR PA LL_DMA_ConfigAddresses
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
SrcAddressBetween 0 to 0xFFFFFFFF
DstAddressBetween 0 to 0xFFFFFFFF
DirectionThis parameter can be one of the following values:
Return values:
None

Definition at line 1409 of file stm32f4xx_ll_dma.h.

References LL_DMA_DIRECTION_MEMORY_TO_PERIPH.

__STATIC_INLINE void LL_DMA_ConfigFifo ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  FifoMode,
uint32_t  FifoThreshold 
)

Configure the FIFO .

Reference Manual to LL API cross reference:
FCR FTH LL_DMA_ConfigFifo
FCR DMDIS LL_DMA_ConfigFifo
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
FifoModeThis parameter can be one of the following values:
FifoThresholdThis parameter can be one of the following values:
Return values:
None

Definition at line 1381 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_Init().

__STATIC_INLINE void LL_DMA_ConfigTransfer ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Configuration 
)

Configure all parameters linked to DMA transfer.

Reference Manual to LL API cross reference:
CR DIR LL_DMA_ConfigTransfer
CR CIRC LL_DMA_ConfigTransfer
CR PINC LL_DMA_ConfigTransfer
CR MINC LL_DMA_ConfigTransfer
CR PSIZE LL_DMA_ConfigTransfer
CR MSIZE LL_DMA_ConfigTransfer
CR PL LL_DMA_ConfigTransfer
CR PFCTRL LL_DMA_ConfigTransfer
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
ConfigurationThis parameter must be a combination of all the following values:
Return values:
None

Definition at line 576 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_Init().

__STATIC_INLINE void LL_DMA_DisableDoubleBufferMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Disable the double buffer mode.

Reference Manual to LL API cross reference:
CR DBM LL_DMA_DisableDoubleBufferMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
None

Definition at line 1237 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_DisableFifoMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Disable Fifo mode.

Reference Manual to LL API cross reference:
FCR DMDIS LL_DMA_DisableFifoMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
None

Definition at line 1283 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_DisableStream ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Disable DMA stream.

Reference Manual to LL API cross reference:
CR EN LL_DMA_DisableStream
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
None

Definition at line 521 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_DeInit().

__STATIC_INLINE void LL_DMA_EnableDoubleBufferMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Enable the double buffer mode.

Reference Manual to LL API cross reference:
CR DBM LL_DMA_EnableDoubleBufferMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
None

Definition at line 1217 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_EnableFifoMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Enable Fifo mode.

Reference Manual to LL API cross reference:
FCR DMDIS LL_DMA_EnableFifoMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
None

Definition at line 1303 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_EnableStream ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Enable DMA stream.

Reference Manual to LL API cross reference:
CR EN LL_DMA_EnableStream
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
None

Definition at line 501 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetChannelSelection ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get the Channel number associated to the Stream.

Reference Manual to LL API cross reference:
CR CHSEL LL_DMA_GetChannelSelection
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 1054 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetCurrentTargetMem ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Set Current target (only in double buffer mode) to Memory 1 or Memory 0.

Reference Manual to LL API cross reference:
CR CT LL_DMA_GetCurrentTargetMem
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 1197 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetDataLength ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Number of data to transfer.

Reference Manual to LL API cross reference:
NDTR NDT LL_DMA_GetDataLength
Note:
Once the stream is enabled, the return value indicate the remaining bytes to be transmitted.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Between0 to 0xFFFFFFFF

Definition at line 997 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetDataTransferDirection ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Data transfer direction (read from peripheral or from memory).

Reference Manual to LL API cross reference:
CR DIR LL_DMA_GetDataTransferDirection
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 625 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetFIFOStatus ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get FIFO status.

Reference Manual to LL API cross reference:
FCR FS LL_DMA_GetFIFOStatus
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 1263 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetFIFOThreshold ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get FIFO threshold.

Reference Manual to LL API cross reference:
FCR FTH LL_DMA_GetFIFOThreshold
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 1352 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetIncOffsetSize ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Peripheral increment offset size.

Reference Manual to LL API cross reference:
CR PINCOS LL_DMA_GetIncOffsetSize
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 903 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetM2MDstAddress ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get the Memory to Memory Destination address.

Reference Manual to LL API cross reference:
M0AR M0A LL_DMA_GetM2MDstAddress
Note:
Interface used for direction LL_DMA_DIRECTION_MEMORY_TO_MEMORY only.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Between0 to 0xFFFFFFFF

Definition at line 1596 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetM2MSrcAddress ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get the Memory to Memory Source address.

Reference Manual to LL API cross reference:
PAR PA LL_DMA_GetM2MSrcAddress
Note:
Interface used for direction LL_DMA_DIRECTION_MEMORY_TO_MEMORY only.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Between0 to 0xFFFFFFFF

Definition at line 1575 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetMemory1Address ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Memory 1 address (used in case of Double buffer mode).

Reference Manual to LL API cross reference:
M1AR M1A LL_DMA_GetMemory1Address
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Between0 to 0xFFFFFFFF

Definition at line 1637 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetMemoryAddress ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get the Memory address.

Reference Manual to LL API cross reference:
M0AR M0A LL_DMA_GetMemoryAddress
Note:
Interface used for direction LL_DMA_DIRECTION_PERIPH_TO_MEMORY or LL_DMA_DIRECTION_MEMORY_TO_PERIPH only.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Between0 to 0xFFFFFFFF

Definition at line 1487 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetMemoryBurstxfer ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Memory burst transfer configuration.

Reference Manual to LL API cross reference:
CR MBURST LL_DMA_GetMemoryBurstxfer
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 1103 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetMemoryIncMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Memory increment mode.

Reference Manual to LL API cross reference:
CR MINC LL_DMA_GetMemoryIncMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 764 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetMemorySize ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Memory size.

Reference Manual to LL API cross reference:
CR MSIZE LL_DMA_GetMemorySize
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 858 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get DMA mode normal, circular or peripheral flow control.

Reference Manual to LL API cross reference:
CR CIRC LL_DMA_GetMode
CR PFCTRL LL_DMA_GetMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 674 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetPeriphAddress ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get the Peripheral address.

Reference Manual to LL API cross reference:
PAR PA LL_DMA_GetPeriphAddress
Note:
Interface used for direction LL_DMA_DIRECTION_PERIPH_TO_MEMORY or LL_DMA_DIRECTION_MEMORY_TO_PERIPH only.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Between0 to 0xFFFFFFFF

Definition at line 1508 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetPeriphBurstxfer ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Peripheral burst transfer configuration.

Reference Manual to LL API cross reference:
CR PBURST LL_DMA_GetPeriphBurstxfer
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 1152 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetPeriphIncMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Peripheral increment mode.

Reference Manual to LL API cross reference:
CR PINC LL_DMA_GetPeriphIncMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 719 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetPeriphSize ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Peripheral size.

Reference Manual to LL API cross reference:
CR PSIZE LL_DMA_GetPeriphSize
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 811 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetStreamPriorityLevel ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get Stream priority level.

Reference Manual to LL API cross reference:
CR PL LL_DMA_GetStreamPriorityLevel
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:

Definition at line 952 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_IsEnabledStream ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Check if DMA stream is enabled or disabled.

Reference Manual to LL API cross reference:
CR EN LL_DMA_IsEnabledStream
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Stateof bit (1 or 0).

Definition at line 541 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetChannelSelection ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Channel 
)

Select Channel number associated to the Stream.

Reference Manual to LL API cross reference:
CR CHSEL LL_DMA_SetChannelSelection
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
ChannelThis parameter can be one of the following values:
Return values:
None

Definition at line 1026 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_DeInit(), and LL_DMA_Init().

__STATIC_INLINE void LL_DMA_SetCurrentTargetMem ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  CurrentMemory 
)

Set Current target (only in double buffer mode) to Memory 1 or Memory 0.

Reference Manual to LL API cross reference:
CR CT LL_DMA_SetCurrentTargetMem
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
CurrentMemoryThis parameter can be one of the following values:
Return values:
None

Definition at line 1175 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetDataLength ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  NbData 
)

Set Number of data to transfer.

Reference Manual to LL API cross reference:
NDTR NDT LL_DMA_SetDataLength
Note:
This action has no effect if stream is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
NbDataBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 975 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_Init().

__STATIC_INLINE void LL_DMA_SetDataTransferDirection ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Direction 
)

Set Data transfer direction (read from peripheral or from memory).

Reference Manual to LL API cross reference:
CR DIR LL_DMA_SetDataTransferDirection
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
DirectionThis parameter can be one of the following values:
Return values:
None

Definition at line 602 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetFIFOThreshold ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Threshold 
)

Select FIFO threshold.

Reference Manual to LL API cross reference:
FCR FTH LL_DMA_SetFIFOThreshold
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
ThresholdThis parameter can be one of the following values:
Return values:
None

Definition at line 1328 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetIncOffsetSize ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  OffsetSize 
)

Set Peripheral increment offset size.

Reference Manual to LL API cross reference:
CR PINCOS LL_DMA_SetIncOffsetSize
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
OffsetSizeThis parameter can be one of the following values:
Return values:
None

Definition at line 881 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetM2MDstAddress ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  MemoryAddress 
)

Set the Memory to Memory Destination address.

Reference Manual to LL API cross reference:
M0AR M0A LL_DMA_SetM2MDstAddress
Note:
Interface used for direction LL_DMA_DIRECTION_MEMORY_TO_MEMORY only.
This API must not be called when the DMA channel is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
MemoryAddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1554 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetM2MSrcAddress ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  MemoryAddress 
)

Set the Memory to Memory Source address.

Reference Manual to LL API cross reference:
PAR PA LL_DMA_SetM2MSrcAddress
Note:
Interface used for direction LL_DMA_DIRECTION_MEMORY_TO_MEMORY only.
This API must not be called when the DMA channel is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
MemoryAddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1531 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetMemory1Address ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Address 
)

Set Memory 1 address (used in case of Double buffer mode).

Reference Manual to LL API cross reference:
M1AR M1A LL_DMA_SetMemory1Address
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
AddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1617 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetMemoryAddress ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  MemoryAddress 
)

Set the Memory address.

Reference Manual to LL API cross reference:
M0AR M0A LL_DMA_SetMemoryAddress
Note:
Interface used for direction LL_DMA_DIRECTION_PERIPH_TO_MEMORY or LL_DMA_DIRECTION_MEMORY_TO_PERIPH only.
This API must not be called when the DMA channel is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
MemoryAddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1443 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_Init().

__STATIC_INLINE void LL_DMA_SetMemoryBurstxfer ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Mburst 
)

Set Memory burst transfer configuration.

Reference Manual to LL API cross reference:
CR MBURST LL_DMA_SetMemoryBurstxfer
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
MburstThis parameter can be one of the following values:
Return values:
None

Definition at line 1079 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_Init().

__STATIC_INLINE void LL_DMA_SetMemoryIncMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  IncrementMode 
)

Set Memory increment mode.

Reference Manual to LL API cross reference:
CR MINC LL_DMA_SetMemoryIncMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
IncrementModeThis parameter can be one of the following values:
Return values:
None

Definition at line 742 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetMemorySize ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Size 
)

Set Memory size.

Reference Manual to LL API cross reference:
CR MSIZE LL_DMA_SetMemorySize
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
SizeThis parameter can be one of the following values:
Return values:
None

Definition at line 835 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Mode 
)

Set DMA mode normal, circular or peripheral flow control.

Reference Manual to LL API cross reference:
CR CIRC LL_DMA_SetMode
CR PFCTRL LL_DMA_SetMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
ModeThis parameter can be one of the following values:
Return values:
None

Definition at line 650 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetPeriphAddress ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  PeriphAddress 
)

Set the Peripheral address.

Reference Manual to LL API cross reference:
PAR PA LL_DMA_SetPeriphAddress
Note:
Interface used for direction LL_DMA_DIRECTION_PERIPH_TO_MEMORY or LL_DMA_DIRECTION_MEMORY_TO_PERIPH only.
This API must not be called when the DMA channel is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
PeriphAddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1466 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_Init().

__STATIC_INLINE void LL_DMA_SetPeriphBurstxfer ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Pburst 
)

Set Peripheral burst transfer configuration.

Reference Manual to LL API cross reference:
CR PBURST LL_DMA_SetPeriphBurstxfer
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
PburstThis parameter can be one of the following values:
Return values:
None

Definition at line 1128 of file stm32f4xx_ll_dma.h.

Referenced by LL_DMA_Init().

__STATIC_INLINE void LL_DMA_SetPeriphIncMode ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  IncrementMode 
)

Set Peripheral increment mode.

Reference Manual to LL API cross reference:
CR PINC LL_DMA_SetPeriphIncMode
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
IncrementModeThis parameter can be one of the following values:
Return values:
None

Definition at line 697 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetPeriphSize ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Size 
)

Set Peripheral size.

Reference Manual to LL API cross reference:
CR PSIZE LL_DMA_SetPeriphSize
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
SizeThis parameter can be one of the following values:
Return values:
None

Definition at line 788 of file stm32f4xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetStreamPriorityLevel ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Priority 
)

Set Stream priority level.

Reference Manual to LL API cross reference:
CR PL LL_DMA_SetStreamPriorityLevel
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
PriorityThis parameter can be one of the following values:
Return values:
None

Definition at line 928 of file stm32f4xx_ll_dma.h.