Ll_Adc_Inj_Getsequencerdiscont; Ll_Adc_Inj_Setsequencerranks - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

LL ADC Generic Driver

LL_ADC_INJ_GetSequencerDiscont

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_ADC_INJ_SetSequencerRanks

Function name
Function description
Parameters
720/1371
__STATIC_INLINE uint32_t
LL_ADC_INJ_GetSequencerDiscont (ADC_TypeDef * ADCx)
Get ADC group injected sequencer discontinuous mode: sequence
subdivided and scan conversions interrupted every selected
number of ranks.
ADCx: ADC instance
Returned: value can be one of the following values:
LL_ADC_INJ_SEQ_DISCONT_DISABLE
LL_ADC_INJ_SEQ_DISCONT_1RANK
CR1 DISCEN LL_ADC_REG_GetSequencerDiscont
__STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks
(ADC_TypeDef * ADCx, uint32_t Rank, uint32_t Channel)
Set ADC group injected sequence: channel on the selected
sequence rank.
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
Channel: This parameter can be one of the following values:
(1) On STM32F4, parameter available only on ADC instance:
ADC1.
LL_ADC_CHANNEL_0
LL_ADC_CHANNEL_1
LL_ADC_CHANNEL_2
LL_ADC_CHANNEL_3
LL_ADC_CHANNEL_4
LL_ADC_CHANNEL_5
LL_ADC_CHANNEL_6
LL_ADC_CHANNEL_7
LL_ADC_CHANNEL_8
LL_ADC_CHANNEL_9
LL_ADC_CHANNEL_10
LL_ADC_CHANNEL_11
LL_ADC_CHANNEL_12
LL_ADC_CHANNEL_13
LL_ADC_CHANNEL_14
LL_ADC_CHANNEL_15
LL_ADC_CHANNEL_16
LL_ADC_CHANNEL_17
LL_ADC_CHANNEL_18
LL_ADC_CHANNEL_VREFINT (1)
LL_ADC_CHANNEL_TEMPSENSOR (1)(2)
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF