LL DMA Generic Driver
LL_DMA_SetDataLength
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_DMA_GetDataLength
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_DMA_SetChannelSelection
Function name
866/1371
__STATIC_INLINE void LL_DMA_SetDataLength
(DMA_TypeDef * DMAx, uint32_t Stream, uint32_t NbData)
Set Number of data to transfer.
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
NbData: Between 0 to 0xFFFFFFFF
None:
This action has no effect if stream is enabled.
NDTR NDT LL_DMA_SetDataLength
__STATIC_INLINE uint32_t LL_DMA_GetDataLength
(DMA_TypeDef * DMAx, uint32_t Stream)
Get Number of data to transfer.
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
Between: 0 to 0xFFFFFFFF
Once the stream is enabled, the return value indicate the
remaining bytes to be transmitted.
NDTR NDT LL_DMA_GetDataLength
__STATIC_INLINE void LL_DMA_SetChannelSelection
(DMA_TypeDef * DMAx, uint32_t Stream, uint32_t Channel)
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers