STM32F37 Standard Peripheral bibliotheek
1.0
ST Microelectronics bibliotheek documentatie voor de STM32F37 Standard Peripheral Library
|
Regular Channels DMA Configuration functions. More...
Functions | |
void | ADC_DMACmd (ADC_TypeDef *ADCx, FunctionalState NewState) |
Enables or disables the specified ADC DMA request. More... | |
Regular Channels DMA Configuration functions.
=============================================================================== ##### Regular Channels DMA Configuration functions ##### =============================================================================== [..] This section provides functions allowing to configure the DMA for ADC regular channels. Since converted regular channel values are stored into a unique data register, it is useful to use DMA for conversion of more than one regular channel. This avoids the loss of the data already stored in the ADC Data register. When the DMA mode is enabled (using the ADC_DMACmd() function), after each conversion of a regular channel, a DMA request is generated.
void ADC_DMACmd | ( | ADC_TypeDef * | ADCx, |
FunctionalState | NewState | ||
) |
Enables or disables the specified ADC DMA request.
ADCx,: | where x can be 1 to select the ADC peripheral. |
NewState,: | new state of the selected ADC DMA transfer. This parameter can be: ENABLE or DISABLE. |
None |