STM32L486xx HAL User Manual
Defines
Channel - Sampling time
ADC Exported Constants

Defines

#define LL_ADC_SAMPLINGTIME_2CYCLES_5   (0x00000000U)
#define LL_ADC_SAMPLINGTIME_6CYCLES_5   ( ADC_SMPR2_SMP10_0)
#define LL_ADC_SAMPLINGTIME_12CYCLES_5   ( ADC_SMPR2_SMP10_1 )
#define LL_ADC_SAMPLINGTIME_24CYCLES_5   ( ADC_SMPR2_SMP10_1 | ADC_SMPR2_SMP10_0)
#define LL_ADC_SAMPLINGTIME_47CYCLES_5   (ADC_SMPR2_SMP10_2 )
#define LL_ADC_SAMPLINGTIME_92CYCLES_5   (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_0)
#define LL_ADC_SAMPLINGTIME_247CYCLES_5   (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_1 )
#define LL_ADC_SAMPLINGTIME_640CYCLES_5   (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_1 | ADC_SMPR2_SMP10_0)

Define Documentation

#define LL_ADC_SAMPLINGTIME_12CYCLES_5   ( ADC_SMPR2_SMP10_1 )

Sampling time 12.5 ADC clock cycles

Definition at line 1069 of file stm32l4xx_ll_adc.h.

#define LL_ADC_SAMPLINGTIME_247CYCLES_5   (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_1 )

Sampling time 247.5 ADC clock cycles

Definition at line 1073 of file stm32l4xx_ll_adc.h.

#define LL_ADC_SAMPLINGTIME_24CYCLES_5   ( ADC_SMPR2_SMP10_1 | ADC_SMPR2_SMP10_0)

Sampling time 24.5 ADC clock cycles

Definition at line 1070 of file stm32l4xx_ll_adc.h.

#define LL_ADC_SAMPLINGTIME_2CYCLES_5   (0x00000000U)

Sampling time 2.5 ADC clock cycles

Definition at line 1067 of file stm32l4xx_ll_adc.h.

Referenced by HAL_ADC_ConfigChannel(), and HAL_ADCEx_InjectedConfigChannel().

#define LL_ADC_SAMPLINGTIME_47CYCLES_5   (ADC_SMPR2_SMP10_2 )

Sampling time 47.5 ADC clock cycles

Definition at line 1071 of file stm32l4xx_ll_adc.h.

#define LL_ADC_SAMPLINGTIME_640CYCLES_5   (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_1 | ADC_SMPR2_SMP10_0)

Sampling time 640.5 ADC clock cycles

Definition at line 1074 of file stm32l4xx_ll_adc.h.

#define LL_ADC_SAMPLINGTIME_6CYCLES_5   ( ADC_SMPR2_SMP10_0)

Sampling time 6.5 ADC clock cycles

Definition at line 1068 of file stm32l4xx_ll_adc.h.

#define LL_ADC_SAMPLINGTIME_92CYCLES_5   (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_0)

Sampling time 92.5 ADC clock cycles

Definition at line 1072 of file stm32l4xx_ll_adc.h.