HAL
LL_DMA_SetPeriphAddress() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_DMA_SetPeriphAddress() function

Set the Peripheral address.

Syntax

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

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

PeriphAddress

Between 0 to 0xFFFFFFFF

Return value

None

Notes

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.

References

LocationReferrerText
stm32f4xx_ll_dma.h:1459
__STATIC_INLINE void LL_DMA_SetPeriphAddress(DMA_TypeDef* DMAx, uint32_t Stream, uint32_t PeriphAddress)
stm32f4xx_ll_dma.c:362LL_DMA_Init()
LL_DMA_SetPeriphAddress(DMAx, Stream, DMA_InitStruct->PeriphOrM2MSrcAddress);

Call Tree

Functions calling LL_DMA_SetPeriphAddress()
all items filtered out
LL_DMA_SetPeriphAddress()