EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #719 background imageLoading...
Page #719 background image
UM1940
LL ADC Generic Driver
DocID028236 Rev 2
719/1371
reference:
LL_ADC_INJ_GetSequencerLength
Function name
__STATIC_INLINE uint32_t
LL_ADC_INJ_GetSequencerLength (ADC_TypeDef * ADCx)
Function description
Get ADC group injected sequencer length and scan direction.
Parameters
ADCx: ADC instance
Return values
Returned: value can be one of the following values:
LL_ADC_INJ_SEQ_SCAN_DISABLE
LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS
LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS
LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS
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 serie, 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.
Reference Manual to
LL API cross
reference:
JSQR JL LL_ADC_INJ_GetSequencerLength
LL_ADC_INJ_SetSequencerDiscont
Function name
__STATIC_INLINE void LL_ADC_INJ_SetSequencerDiscont
(ADC_TypeDef * ADCx, uint32_t SeqDiscont)
Function description
Set ADC group injected sequencer discontinuous mode: sequence
subdivided and scan conversions interrupted every selected
number of ranks.
Parameters
ADCx: ADC instance
SeqDiscont: This parameter can be one of the following
values:
LL_ADC_INJ_SEQ_DISCONT_DISABLE
LL_ADC_INJ_SEQ_DISCONT_1RANK
Return values
None:
Notes
It is not possible to enable both ADC group injected auto-
injected mode and sequencer discontinuous mode.
Reference Manual to
LL API cross
reference:
CR1 DISCEN LL_ADC_INJ_SetSequencerDiscont

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals