STM32H735xx 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_EnableBufferableTransfer (DMA_TypeDef *DMAx, uint32_t Stream)
 Enable DMA stream bufferable transfer.
__STATIC_INLINE void LL_DMA_DisableBufferableTransfer (DMA_TypeDef *DMAx, uint32_t Stream)
 Disable DMA stream bufferable transfer.
__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_SetPeriphRequest (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Request)
 Set DMA request for DMA Streams on DMAMUX Channel x.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphRequest (DMA_TypeDef *DMAx, uint32_t Stream)
 Get DMA request for DMA Channels on DMAMUX Channel x.
__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 1764 of file stm32h7xx_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 1734 of file stm32h7xx_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 556 of file stm32h7xx_ll_dma.h.

Referenced by LL_DMA_Init().

__STATIC_INLINE void LL_DMA_DisableBufferableTransfer ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Disable DMA stream bufferable transfer.

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

Definition at line 1008 of file stm32h7xx_ll_dma.h.

__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 1578 of file stm32h7xx_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 1628 of file stm32h7xx_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 497 of file stm32h7xx_ll_dma.h.

Referenced by LL_DMA_DeInit().

__STATIC_INLINE void LL_DMA_EnableBufferableTransfer ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Enable DMA stream bufferable transfer.

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

Definition at line 986 of file stm32h7xx_ll_dma.h.

__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 1556 of file stm32h7xx_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 1650 of file stm32h7xx_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 475 of file stm32h7xx_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 1534 of file stm32h7xx_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 1057 of file stm32h7xx_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 609 of file stm32h7xx_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 1606 of file stm32h7xx_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 1703 of file stm32h7xx_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 911 of file stm32h7xx_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 1967 of file stm32h7xx_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 1944 of file stm32h7xx_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 2012 of file stm32h7xx_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 1848 of file stm32h7xx_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 1432 of file stm32h7xx_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 760 of file stm32h7xx_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 862 of file stm32h7xx_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 662 of file stm32h7xx_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 1871 of file stm32h7xx_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 1485 of file stm32h7xx_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 711 of file stm32h7xx_ll_dma.h.

__STATIC_INLINE uint32_t LL_DMA_GetPeriphRequest ( DMA_TypeDef *  DMAx,
uint32_t  Stream 
)

Get DMA request for DMA Channels on DMAMUX Channel x.

Note:
DMAMUX channel 0 to 7 are mapped to DMA1 stream 0 to 7. DMAMUX channel 8 to 15 are mapped to DMA2 stream 0 to 7.
Reference Manual to LL API cross reference:
CxCR DMAREQ_ID LL_DMA_GetPeriphRequest
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values:
Note:
(*) Availability depends on devices.

Definition at line 1381 of file stm32h7xx_ll_dma.h.

References DMAMUX_CCR_SIZE, and LL_DMA_INSTANCE_TO_DMAMUX_CHANNEL.

__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 stm32h7xx_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 964 of file stm32h7xx_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 519 of file stm32h7xx_ll_dma.h.

__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 1510 of file stm32h7xx_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 1033 of file stm32h7xx_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 584 of file stm32h7xx_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 1677 of file stm32h7xx_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 887 of file stm32h7xx_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 stream is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
MemoryAddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1921 of file stm32h7xx_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 stream is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
MemoryAddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1896 of file stm32h7xx_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 1990 of file stm32h7xx_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 stream is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
MemoryAddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1800 of file stm32h7xx_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 1406 of file stm32h7xx_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 736 of file stm32h7xx_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 837 of file stm32h7xx_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 636 of file stm32h7xx_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 stream is enabled.
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
PeriphAddressBetween 0 to 0xFFFFFFFF
Return values:
None

Definition at line 1825 of file stm32h7xx_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 1459 of file stm32h7xx_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 687 of file stm32h7xx_ll_dma.h.

__STATIC_INLINE void LL_DMA_SetPeriphRequest ( DMA_TypeDef *  DMAx,
uint32_t  Stream,
uint32_t  Request 
)

Set DMA request for DMA Streams on DMAMUX Channel x.

Note:
DMAMUX channel 0 to 7 are mapped to DMA1 stream 0 to 7. DMAMUX channel 8 to 15 are mapped to DMA2 stream 0 to 7.
Reference Manual to LL API cross reference:
CxCR DMAREQ_ID LL_DMA_SetPeriphRequest
Parameters:
DMAxDMAx Instance
StreamThis parameter can be one of the following values:
RequestThis parameter can be one of the following values:
Note:
(*) Availability depends on devices.
Return values:
None

Definition at line 1220 of file stm32h7xx_ll_dma.h.

References DMAMUX_CCR_SIZE, and LL_DMA_INSTANCE_TO_DMAMUX_CHANNEL.

Referenced by LL_DMA_DeInit(), and LL_DMA_Init().

__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 786 of file stm32h7xx_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 938 of file stm32h7xx_ll_dma.h.