controlled only from ADC group regular.
It is not possible to enable both ADC group injected auto-
injected mode and sequencer discontinuous mode.
Reference Manual to
LL API cross
reference:
CR1 JAUTO LL_ADC_INJ_SetTrigAuto
LL_ADC_INJ_GetTrigAuto
__STATIC_INLINE uint32_t LL_ADC_INJ_GetTrigAuto
(ADC_TypeDef * ADCx)
Get ADC group injected conversion trigger: independent or from
ADC group regular.
Returned: value can be one of the following values:
LL_ADC_INJ_TRIG_INDEPENDENT
LL_ADC_INJ_TRIG_FROM_GRP_REGULAR
Reference Manual to
LL API cross
reference:
CR1 JAUTO LL_ADC_INJ_GetTrigAuto
LL_ADC_INJ_SetOffset
__STATIC_INLINE void LL_ADC_INJ_SetOffset (ADC_TypeDef
* ADCx, uint32_t Rank, uint32_t OffsetLevel)
Set 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
OffsetLevel: Value between Min_Data=0x000 and
Max_Data=0xFFF
It sets: ADC group injected rank to which the offset
programmed will be appliedOffset 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.
Offset cannot be enabled or disabled. To emulate offset
disabled, set an offset value equal to 0.
Reference Manual to
LL API cross
reference:
JOFR1 JOFFSET1 LL_ADC_INJ_SetOffset
JOFR2 JOFFSET2 LL_ADC_INJ_SetOffset
JOFR3 JOFFSET3 LL_ADC_INJ_SetOffset
JOFR4 JOFFSET4 LL_ADC_INJ_SetOffset