UM1940
Return values
Reference Manual to
LL API cross
reference:
LL_DMA_SetMode
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_DMA_GetMode
Function name
Function description
Parameters
LL_DMA_STREAM_3
LL_DMA_STREAM_4
LL_DMA_STREAM_5
LL_DMA_STREAM_6
LL_DMA_STREAM_7
Returned: value 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
CR DIR LL_DMA_GetDataTransferDirection
__STATIC_INLINE void LL_DMA_SetMode (DMA_TypeDef *
DMAx, uint32_t Stream, uint32_t Mode)
Set DMA mode normal, circular or peripheral flow control.
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
Mode: This parameter can be one of the following values:
LL_DMA_MODE_NORMAL
LL_DMA_MODE_CIRCULAR
LL_DMA_MODE_PFCTRL
None:
CR CIRC LL_DMA_SetMode
CR PFCTRL LL_DMA_SetMode
__STATIC_INLINE uint32_t LL_DMA_GetMode (DMA_TypeDef
* DMAx, uint32_t Stream)
Get DMA mode normal, circular or peripheral flow control.
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
DocID028236 Rev 2
LL DMA Generic Driver
859/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers