UM1940
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_ADC_CHANNEL_18
LL_ADC_CHANNEL_VREFINT (1)
LL_ADC_CHANNEL_TEMPSENSOR (1)(2)
LL_ADC_CHANNEL_VBAT (1)
(2) On devices STM32F42x and STM32F43x, limitation: this
internal channel is shared between temperature sensor and
Vbat, only 1 measurement path must be enabled.
SamplingTime: This parameter can be one of the following
values:
LL_ADC_SAMPLINGTIME_3CYCLES
LL_ADC_SAMPLINGTIME_15CYCLES
LL_ADC_SAMPLINGTIME_28CYCLES
LL_ADC_SAMPLINGTIME_56CYCLES
LL_ADC_SAMPLINGTIME_84CYCLES
LL_ADC_SAMPLINGTIME_112CYCLES
LL_ADC_SAMPLINGTIME_144CYCLES
LL_ADC_SAMPLINGTIME_480CYCLES
None:
On this device, sampling time is on channel scope:
independently of channel mapped on ADC group regular or
injected.
In case of internal channel (VrefInt, TempSensor, ...) to be
converted: sampling time constraints must be respected
(sampling time can be adjusted in function of ADC clock
frequency and sampling time setting). Refer to device
datasheet for timings values (parameters TS_vrefint,
TS_temp, ...).
Conversion time is the addition of sampling time and
processing time. Refer to reference manual for ADC
processing time of this STM32 serie.
In case of ADC conversion of internal channel (VrefInt,
temperature sensor, ...), a sampling time minimum value is
required. Refer to device datasheet.
SMPR1 SMP18 LL_ADC_SetChannelSamplingTime
SMPR1 SMP17 LL_ADC_SetChannelSamplingTime
SMPR1 SMP16 LL_ADC_SetChannelSamplingTime
SMPR1 SMP15 LL_ADC_SetChannelSamplingTime
SMPR1 SMP14 LL_ADC_SetChannelSamplingTime
SMPR1 SMP13 LL_ADC_SetChannelSamplingTime
SMPR1 SMP12 LL_ADC_SetChannelSamplingTime
SMPR1 SMP11 LL_ADC_SetChannelSamplingTime
SMPR1 SMP10 LL_ADC_SetChannelSamplingTime
SMPR2 SMP9 LL_ADC_SetChannelSamplingTime
SMPR2 SMP8 LL_ADC_SetChannelSamplingTime
SMPR2 SMP7 LL_ADC_SetChannelSamplingTime
SMPR2 SMP6 LL_ADC_SetChannelSamplingTime
SMPR2 SMP5 LL_ADC_SetChannelSamplingTime
SMPR2 SMP4 LL_ADC_SetChannelSamplingTime
SMPR2 SMP3 LL_ADC_SetChannelSamplingTime
SMPR2 SMP2 LL_ADC_SetChannelSamplingTime
SMPR2 SMP1 LL_ADC_SetChannelSamplingTime
DocID028236 Rev 2
LL ADC Generic Driver
725/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?