Symbols
loading...
Files
loading...

LL_DMA_ConfigAddresses() function

Configure the Source and Destination addresses.

Syntax

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

Arguments

DMAx

DMAx Instance

Stream

This parameter can be one of the following values: @arg LL_DMA_STREAM_0 @arg LL_DMA_STREAM_1 @arg LL_DMA_STREAM_2 @arg LL_DMA_STREAM_3 @arg LL_DMA_STREAM_4 @arg LL_DMA_STREAM_5 @arg LL_DMA_STREAM_6 @arg LL_DMA_STREAM_7

SrcAddress

Between 0 to 0xFFFFFFFF

DstAddress

Between 0 to 0xFFFFFFFF

Direction

This parameter can be one of the following values: @arg LL_DMA_DIRECTION_PERIPH_TO_MEMORY @arg LL_DMA_DIRECTION_MEMORY_TO_PERIPH @arg LL_DMA_DIRECTION_MEMORY_TO_MEMORY

Return value

None

Notes

This API must not be called when the DMA stream is enabled. PAR PA LL_DMA_ConfigAddresses

Examples

LL_DMA_ConfigAddresses() is referenced by 18 libraries and example projects.