LL_ADC_REG_GetSequencerLength() function
Get ADC group regular sequencer length and scan direction.
Arguments
Return value
Notes
Description of ADC group regular sequencer features: - For devices with sequencer fully configurable (function "LL_ADC_REG_SetSequencerRanks()" available): sequencer length and each rank affectation to a channel are configurable. 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). Sequencer ranks are selected using function "LL_ADC_REG_SetSequencerRanks()". - For devices with sequencer not fully configurable (function "LL_ADC_REG_SetSequencerChannels()" available): sequencer length and each rank affectation to a channel are defined by channel number. This function retrieves: - Sequence length: Number of ranks in the scan sequence is defined by number of channels set in the sequence, rank of each channel is fixed by channel HW number. (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...). - Sequence direction: Unless specified in parameters, sequencer scan direction is forward (from lowest channel number to highest channel number). Sequencer ranks are selected using function "LL_ADC_REG_SetSequencerChannels()". On this STM32 series, group regular 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.
Data read by LL_ADC_REG_GetSequencerLength()
LL_ADC_REG_GetSequencerLength()
Type of LL_ADC_REG_GetSequencerLength()
LL_ADC_REG_GetSequencerLength()
uint32_t all items filtered out