This function performs configuration of: Channels ordering
into each rank of scan sequence: whatever channel can be
placed into whatever rank.
On this STM32 serie, ADC group regular sequencer is fully
configurable: sequencer length and each rank affectation to a
channel are configurable. Refer to description of function
LL_ADC_REG_SetSequencerLength().
Depending on devices and packages, some channels may
not be available. Refer to device datasheet for channels
availability.
On this STM32 serie, to measure internal channels (VrefInt,
TempSensor, ...), measurement paths to internal channels
must be enabled separately. This can be done using function
LL_ADC_SetCommonPathInternalCh().
Reference Manual to
LL API cross
reference:
SQR3 SQ1 LL_ADC_REG_SetSequencerRanks
SQR3 SQ2 LL_ADC_REG_SetSequencerRanks
SQR3 SQ3 LL_ADC_REG_SetSequencerRanks
SQR3 SQ4 LL_ADC_REG_SetSequencerRanks
SQR3 SQ5 LL_ADC_REG_SetSequencerRanks
SQR3 SQ6 LL_ADC_REG_SetSequencerRanks
SQR2 SQ7 LL_ADC_REG_SetSequencerRanks
SQR2 SQ8 LL_ADC_REG_SetSequencerRanks
SQR2 SQ9 LL_ADC_REG_SetSequencerRanks
SQR2 SQ10 LL_ADC_REG_SetSequencerRanks
SQR2 SQ11 LL_ADC_REG_SetSequencerRanks
SQR2 SQ12 LL_ADC_REG_SetSequencerRanks
SQR1 SQ13 LL_ADC_REG_SetSequencerRanks
SQR1 SQ14 LL_ADC_REG_SetSequencerRanks
SQR1 SQ15 LL_ADC_REG_SetSequencerRanks
SQR1 SQ16 LL_ADC_REG_SetSequencerRanks
LL_ADC_REG_GetSequencerRanks
__STATIC_INLINE uint32_t
LL_ADC_REG_GetSequencerRanks (ADC_TypeDef * ADCx,
uint32_t Rank)
Get ADC group regular sequence: channel on the selected scan
sequence rank.
ADCx: ADC instance
Rank: This parameter can be one of the following values:
LL_ADC_REG_RANK_1
LL_ADC_REG_RANK_2
LL_ADC_REG_RANK_3
LL_ADC_REG_RANK_4
LL_ADC_REG_RANK_5
LL_ADC_REG_RANK_6
LL_ADC_REG_RANK_7
LL_ADC_REG_RANK_8
LL_ADC_REG_RANK_9
LL_ADC_REG_RANK_10