LL_ADC_GetSequencersScanMode
__STATIC_INLINE uint32_t
LL_ADC_GetSequencersScanMode (ADC_TypeDef * ADCx)
Get ADC sequencers scan mode, for all ADC groups (group
regular, group injected).
Returned: value can be one of the following values:
LL_ADC_SEQ_SCAN_DISABLE
LL_ADC_SEQ_SCAN_ENABLE
According to sequencers scan mode : If disabled: ADC
conversion is performed in unitary conversion mode (one
channel converted, that defined in rank 1). Configuration of
sequencers of all ADC groups (sequencer scan length, ...) is
discarded: equivalent to scan length of 1 rank.If enabled: ADC
conversions are performed in sequence conversions mode,
according to configuration of sequencers of each ADC group
(sequencer scan length, ...). Refer to function
LL_ADC_REG_SetSequencerLength() and to function
LL_ADC_INJ_SetSequencerLength().
Reference Manual to
LL API cross
reference:
CR1 SCAN LL_ADC_GetSequencersScanMode
LL_ADC_REG_SetTriggerSource
__STATIC_INLINE void LL_ADC_REG_SetTriggerSource
(ADC_TypeDef * ADCx, uint32_t TriggerSource)
Set ADC group regular conversion trigger source: internal (SW
start) or from external IP (timer event, external interrupt line).
ADCx: ADC instance
TriggerSource: This parameter can be one of the following
values:
LL_ADC_REG_TRIG_SOFTWARE
LL_ADC_REG_TRIG_EXT_TIM1_CH1
LL_ADC_REG_TRIG_EXT_TIM1_CH2
LL_ADC_REG_TRIG_EXT_TIM1_CH3
LL_ADC_REG_TRIG_EXT_TIM2_CH2
LL_ADC_REG_TRIG_EXT_TIM2_CH3
LL_ADC_REG_TRIG_EXT_TIM2_CH4
LL_ADC_REG_TRIG_EXT_TIM2_TRGO
LL_ADC_REG_TRIG_EXT_TIM3_CH1
LL_ADC_REG_TRIG_EXT_TIM3_TRGO
LL_ADC_REG_TRIG_EXT_TIM4_CH4
LL_ADC_REG_TRIG_EXT_TIM5_CH1
LL_ADC_REG_TRIG_EXT_TIM5_CH2
LL_ADC_REG_TRIG_EXT_TIM5_CH3
LL_ADC_REG_TRIG_EXT_TIM8_CH1