STM32F103xB HAL User Manual
Data Fields
ADC_MultiModeTypeDef Struct Reference

Structure definition of ADC multimode. More...

#include <stm32f1xx_hal_adc_ex.h>

Data Fields

uint32_t Mode

Detailed Description

Structure definition of ADC multimode.

Note:
The setting of these parameters with function HAL_ADCEx_MultiModeConfigChannel() is conditioned to ADCs state (both ADCs of the common group). State of ADCs of the common group must be: disabled.

Definition at line 116 of file stm32f1xx_hal_adc_ex.h.


Field Documentation

Configures the ADC to operate in independent or multi mode. This parameter can be a value of ADC Extended Dual ADC Mode Note: In dual mode, a change of channel configuration generates a restart that can produce a loss of synchronization. It is recommended to disable dual mode before any configuration change. Note: In case of simultaneous mode used: Exactly the same sampling time should be configured for the 2 channels that will be sampled simultaneously by ACD1 and ADC2. Note: In case of interleaved mode used: To avoid overlap between conversions, maximum sampling time allowed is 7 ADC clock cycles for fast interleaved mode and 14 ADC clock cycles for slow interleaved mode. Note: Some multimode parameters are fixed on STM32F1 and can be configured on other STM32 devices with several ADC (multimode configuration structure can have additional parameters). The equivalences are:

  • Parameter 'DMAAccessMode': On STM32F1, this parameter is fixed to 1 DMA channel (one DMA channel for both ADC, DMA of ADC master). On other STM32 devices with several ADC, this is equivalent to parameter 'ADC_DMAACCESSMODE_12_10_BITS'.
  • Parameter 'TwoSamplingDelay': On STM32F1, this parameter is fixed to 7 or 14 ADC clock cycles depending on fast or slow interleaved mode selected. On other STM32 devices with several ADC, this is equivalent to parameter 'ADC_TWOSAMPLINGDELAY_7CYCLES' (for fast interleaved mode).

Definition at line 118 of file stm32f1xx_hal_adc_ex.h.

Referenced by HAL_ADCEx_MultiModeConfigChannel().


The documentation for this struct was generated from the following file: