HAL
LL_ADC_INJ_GetSequencerLength() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_ADC_INJ_GetSequencerLength()

LL_ADC_INJ_GetSequencerLength() function

Get ADC group injected sequencer length and scan direction.

Syntax

__STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerLength(ADC_TypeDef *ADCx);

Arguments

ADCx

ADC instance

Return value

Notes

This function retrieves: - Sequence length: Number of ranks in the scan sequence. - Sequence direction: Unless specified in parameters, sequencer scan direction is forward (from rank 1 to rank n). On this STM32 series, group injected sequencer configuration is conditioned to ADC instance sequencer mode. If ADC instance sequencer mode is disabled, sequencers of all groups (group regular, group injected) can be configured but their execution is disabled (limited to rank 1). Refer to function LL_ADC_SetSequencersScanMode(). Sequencer disabled is equivalent to sequencer of 1 rank: ADC conversion on only 1 channel.

References

LocationText
stm32f4xx_ll_adc.h:2925
__STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerLength(ADC_TypeDef *ADCx)

Data Use

Data read by LL_ADC_INJ_GetSequencerLength()
LL_ADC_INJ_GetSequencerLength()
Type of LL_ADC_INJ_GetSequencerLength()
LL_ADC_INJ_GetSequencerLength()
uint32_t
all items filtered out