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

LL_DMA_GetDataLength() function

Get Number of data to transfer.

Syntax

__STATIC_INLINE uint32_t LL_DMA_GetDataLength(DMA_TypeDef* DMAx,     uint32_t Stream);

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

Return value

Between 0 to 0xFFFFFFFF

Notes

Once the stream is enabled, the return value indicate the remaining bytes to be transmitted.

References

LocationText
stm32f4xx_ll_dma.h:990
__STATIC_INLINE uint32_t LL_DMA_GetDataLength(DMA_TypeDef* DMAx, uint32_t Stream)

Data Use

Data read by LL_DMA_GetDataLength()
LL_DMA_GetDataLength()
Type of LL_DMA_GetDataLength()
LL_DMA_GetDataLength()
uint32_t
all items filtered out