EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 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 #188 background imageLoading...
Page #188 background image
DMA controller (DMA)
UM1581
188/584
DocID023800 Rev 1
9.2.6 Data counter functions
9.2.6.1 DMA_SetCurrDataCounter
Function Name
void DMA_SetCurrDataCounter ( DMA_Channel_TypeDef *
DMAy_Channelx, uint16_t DataNumber)
Function Description
Sets the number of data units in the current DMAy Channelx
transfer.
Parameters
ï‚· DMAy_Channelx : where y can be 1 or 2 to select the DMA
and x can be 1 to 7 for DMA1 and 1 to 5 for DMA2 to select
the DMA Channel.
ï‚· DataNumber : The number of data units in the current DMAy
Channelx transfer.
Return values
ï‚· None.
Notes
ï‚· This function can only be used when the DMAy_Channelx is
disabled.
9.2.6.2 DMA_GetCurrDataCounter
Function Name
uint16_t DMA_GetCurrDataCounter ( DMA_Channel_TypeDef *
DMAy_Channelx)
Function Description
Returns the number of remaining data units in the current DMAy
Channelx transfer.
Parameters
ï‚· DMAy_Channelx : where y can be 1 or 2 to select the DMA
and x can be 1 to 7 for DMA1 and 1 to 5 for DMA2 to select
the DMA Channel.
Return values
ï‚· The number of remaining data units in the current DMAy
Channelx transfer.
Notes
ï‚· None.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals