Configure the Source and Destination addresses.
DMAx: DMAx Instance
Stream: This parameter can be one of the following values:
LL_DMA_STREAM_0
LL_DMA_STREAM_1
LL_DMA_STREAM_2
LL_DMA_STREAM_3
LL_DMA_STREAM_4
LL_DMA_STREAM_5
LL_DMA_STREAM_6
LL_DMA_STREAM_7
SrcAddress: Between 0 to 0xFFFFFFFF
DstAddress: Between 0 to 0xFFFFFFFF
Direction: This parameter can be one of the following
values:
LL_DMA_DIRECTION_PERIPH_TO_MEMORY
LL_DMA_DIRECTION_MEMORY_TO_PERIPH
LL_DMA_DIRECTION_MEMORY_TO_MEMORY
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
LL_DMA_SetMemoryAddress
__STATIC_INLINE void LL_DMA_SetMemoryAddress
(DMA_TypeDef * DMAx, uint32_t Stream, uint32_t
MemoryAddress)
DMAx: DMAx Instance
Stream: This parameter can be one of the following values:
LL_DMA_STREAM_0
LL_DMA_STREAM_1
LL_DMA_STREAM_2
LL_DMA_STREAM_3
LL_DMA_STREAM_4
LL_DMA_STREAM_5
LL_DMA_STREAM_6
LL_DMA_STREAM_7
MemoryAddress: Between 0 to 0xFFFFFFFF
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.
Reference Manual to
LL API cross
M0AR M0A LL_DMA_SetMemoryAddress