LL_ADC_INJ_GetOffset
__STATIC_INLINE uint32_t LL_ADC_INJ_GetOffset
(ADC_TypeDef * ADCx, uint32_t Rank)
Get ADC group injected offset.
ADCx: ADC instance
Rank: This parameter can be one of the following values:
LL_ADC_INJ_RANK_1
LL_ADC_INJ_RANK_2
LL_ADC_INJ_RANK_3
LL_ADC_INJ_RANK_4
Value: between Min_Data=0x000 and Max_Data=0xFFF
It gives offset level (offset to be subtracted from the raw
converted data). Caution: Offset format is dependent to ADC
resolution: offset has to be left-aligned on bit 11, the LSB
(right bits) are set to 0.
Reference Manual to
LL API cross
reference:
JOFR1 JOFFSET1 LL_ADC_INJ_GetOffset
JOFR2 JOFFSET2 LL_ADC_INJ_GetOffset
JOFR3 JOFFSET3 LL_ADC_INJ_GetOffset
JOFR4 JOFFSET4 LL_ADC_INJ_GetOffset
LL_ADC_SetChannelSamplingTime
__STATIC_INLINE void LL_ADC_SetChannelSamplingTime
(ADC_TypeDef * ADCx, uint32_t Channel, uint32_t
SamplingTime)
Set sampling time of the selected ADC channel Unit: ADC clock
cycles.
ADCx: ADC instance
Channel: This parameter can be one of the following values:
(1) On STM32F4, parameter available only on ADC instance:
ADC1.
LL_ADC_CHANNEL_0
LL_ADC_CHANNEL_1
LL_ADC_CHANNEL_2
LL_ADC_CHANNEL_3
LL_ADC_CHANNEL_4
LL_ADC_CHANNEL_5
LL_ADC_CHANNEL_6
LL_ADC_CHANNEL_7
LL_ADC_CHANNEL_8
LL_ADC_CHANNEL_9
LL_ADC_CHANNEL_10
LL_ADC_CHANNEL_11
LL_ADC_CHANNEL_12
LL_ADC_CHANNEL_13
LL_ADC_CHANNEL_14
LL_ADC_CHANNEL_15
LL_ADC_CHANNEL_16
LL_ADC_CHANNEL_17