STM32L486xx HAL User Manual
Defines
Oversampling - Ratio
ADC Exported Constants

Defines

#define LL_ADC_OVS_RATIO_2   (0x00000000U)
#define LL_ADC_OVS_RATIO_4   ( ADC_CFGR2_OVSR_0)
#define LL_ADC_OVS_RATIO_8   ( ADC_CFGR2_OVSR_1 )
#define LL_ADC_OVS_RATIO_16   ( ADC_CFGR2_OVSR_1 | ADC_CFGR2_OVSR_0)
#define LL_ADC_OVS_RATIO_32   (ADC_CFGR2_OVSR_2 )
#define LL_ADC_OVS_RATIO_64   (ADC_CFGR2_OVSR_2 | ADC_CFGR2_OVSR_0)
#define LL_ADC_OVS_RATIO_128   (ADC_CFGR2_OVSR_2 | ADC_CFGR2_OVSR_1 )
#define LL_ADC_OVS_RATIO_256   (ADC_CFGR2_OVSR_2 | ADC_CFGR2_OVSR_1 | ADC_CFGR2_OVSR_0)

Define Documentation

#define LL_ADC_OVS_RATIO_128   (ADC_CFGR2_OVSR_2 | ADC_CFGR2_OVSR_1 )

ADC oversampling ratio of 128 (128 ADC conversions are performed, sum of these conversions data is computed to result as the ADC oversampling conversion data (before potential shift)

Definition at line 1239 of file stm32l4xx_ll_adc.h.

#define LL_ADC_OVS_RATIO_16   ( ADC_CFGR2_OVSR_1 | ADC_CFGR2_OVSR_0)

ADC oversampling ratio of 16 (16 ADC conversions are performed, sum of these conversions data is computed to result as the ADC oversampling conversion data (before potential shift)

Definition at line 1236 of file stm32l4xx_ll_adc.h.

#define LL_ADC_OVS_RATIO_2   (0x00000000U)

ADC oversampling ratio of 2 (2 ADC conversions are performed, sum of these conversions data is computed to result as the ADC oversampling conversion data (before potential shift)

Definition at line 1233 of file stm32l4xx_ll_adc.h.

#define LL_ADC_OVS_RATIO_256   (ADC_CFGR2_OVSR_2 | ADC_CFGR2_OVSR_1 | ADC_CFGR2_OVSR_0)

ADC oversampling ratio of 256 (256 ADC conversions are performed, sum of these conversions data is computed to result as the ADC oversampling conversion data (before potential shift)

Definition at line 1240 of file stm32l4xx_ll_adc.h.

#define LL_ADC_OVS_RATIO_32   (ADC_CFGR2_OVSR_2 )

ADC oversampling ratio of 32 (32 ADC conversions are performed, sum of these conversions data is computed to result as the ADC oversampling conversion data (before potential shift)

Definition at line 1237 of file stm32l4xx_ll_adc.h.

#define LL_ADC_OVS_RATIO_4   ( ADC_CFGR2_OVSR_0)

ADC oversampling ratio of 4 (4 ADC conversions are performed, sum of these conversions data is computed to result as the ADC oversampling conversion data (before potential shift)

Definition at line 1234 of file stm32l4xx_ll_adc.h.

#define LL_ADC_OVS_RATIO_64   (ADC_CFGR2_OVSR_2 | ADC_CFGR2_OVSR_0)

ADC oversampling ratio of 64 (64 ADC conversions are performed, sum of these conversions data is computed to result as the ADC oversampling conversion data (before potential shift)

Definition at line 1238 of file stm32l4xx_ll_adc.h.

#define LL_ADC_OVS_RATIO_8   ( ADC_CFGR2_OVSR_1 )

ADC oversampling ratio of 8 (8 ADC conversions are performed, sum of these conversions data is computed to result as the ADC oversampling conversion data (before potential shift)

Definition at line 1235 of file stm32l4xx_ll_adc.h.