STM8L15x Standard Peripherals Drivers
|
ADC Channels DMA Configuration function. More...
Functions | |
void | ADC_DMACmd (ADC_TypeDef *ADCx, FunctionalState NewState) |
Enables or disables the specified ADC DMA request. |
Detailed Description
ADC Channels DMA Configuration function.
=============================================================================== ADC Channels DMA Configuration function =============================================================================== This section provides a function allowing to configure the DMA for ADC channel. Since converted channel values are stored into a unique data register, it is useful to use DMA for conversion of more than one 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 channel, a DMA request is generated.
Function Documentation
void ADC_DMACmd | ( | ADC_TypeDef * | ADCx, |
FunctionalState | NewState | ||
) |
Enables or disables the specified ADC DMA request.
Definition at line 754 of file stm8l15x_adc.c.
References ADC_SQR1_DMAOFF, DISABLE, IS_FUNCTIONAL_STATE, and ADC_struct::SQR.