LL_DMA_SetDataLength
__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
This action has no effect if stream is enabled.
Reference Manual to
LL API cross
reference:
NDTR NDT LL_DMA_SetDataLength
LL_DMA_GetDataLength
__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
Once the stream is enabled, the return value indicate the
remaining bytes to be transmitted.
Reference Manual to
LL API cross
reference:
NDTR NDT LL_DMA_GetDataLength
LL_DMA_SetChannelSelection
__STATIC_INLINE void LL_DMA_SetChannelSelection
(DMA_TypeDef * DMAx, uint32_t Stream, uint32_t Channel)