EasyManua.ls Logo

ST STM32F31xx

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
Loading...
UM1581
DMA controller (DMA)
DocID023800 Rev 1
187/584
parameters in the DMA_InitStruct.
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.
DMA_InitStruct : pointer to a DMA_InitTypeDef structure
that contains the configuration information for the specified
DMA Channel.
Return values
None.
Notes
None.
9.2.5.3 DMA_StructInit
Function Name
void DMA_StructInit ( DMA_InitTypeDef * DMA_InitStruct)
Function Description
Fills each DMA_InitStruct member with its default value.
Parameters
DMA_InitStruct : pointer to a DMA_InitTypeDef structure
which will be initialized.
Return values
None.
Notes
None.
9.2.5.4 DMA_Cmd
Function Name
void DMA_Cmd ( DMA_Channel_TypeDef * DMAy_Channelx,
FunctionalState NewState)
Function Description
Enables or disables the specified DMAy Channelx.
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.
NewState : new state of the DMAy Channelx. This
parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
None.

Table of Contents

Related product manuals