parameters in the DMA_InitStruct.
ï‚· 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.
9.2.5.3 DMA_StructInit
void DMA_StructInit ( DMA_InitTypeDef * DMA_InitStruct)
Fills each DMA_InitStruct member with its default value.
ï‚· DMA_InitStruct : pointer to a DMA_InitTypeDef structure
which will be initialized.
9.2.5.4 DMA_Cmd
void DMA_Cmd ( DMA_Channel_TypeDef * DMAy_Channelx,
FunctionalState NewState)
Enables or disables the specified DMAy Channelx.
ï‚· 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.