EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #866 background imageLoading...
Page #866 background image
LL DMA Generic Driver
UM1940
866/1371
DocID028236 Rev 2
LL_DMA_SetDataLength
Function name
__STATIC_INLINE void LL_DMA_SetDataLength
(DMA_TypeDef * DMAx, uint32_t Stream, uint32_t NbData)
Function description
Set Number of data to transfer.
Parameters
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
Return values
None:
Notes
This action has no effect if stream is enabled.
Reference Manual to
LL API cross
reference:
NDTR NDT LL_DMA_SetDataLength
LL_DMA_GetDataLength
Function name
__STATIC_INLINE uint32_t LL_DMA_GetDataLength
(DMA_TypeDef * DMAx, uint32_t Stream)
Function description
Get Number of data to transfer.
Parameters
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
Return values
Between: 0 to 0xFFFFFFFF
Notes
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
Function name
__STATIC_INLINE void LL_DMA_SetChannelSelection
(DMA_TypeDef * DMAx, uint32_t Stream, uint32_t Channel)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals