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

Defines

#define LL_ADC_SAMPLINGTIME_2CYCLES_5   (0x00000000UL)
#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 1035 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 1039 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 1036 of file stm32l4xx_ll_adc.h.

#define LL_ADC_SAMPLINGTIME_2CYCLES_5   (0x00000000UL)

Sampling time 2.5 ADC clock cycles

Definition at line 1033 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 1037 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 1040 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 1034 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 1038 of file stm32l4xx_ll_adc.h.