Ll_Adc_Getdataalignment; Ll_Adc_Setsequencersscanmode - ST STM32F2 User Manual

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

Advertisement

UM1940
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_ADC_GetDataAlignment

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

LL_ADC_SetSequencersScanMode

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
LL_ADC_DATA_ALIGN_LEFT
None:
Refer to reference manual for alignments formats
dependencies to ADC resolutions.
CR2 ALIGN LL_ADC_SetDataAlignment
__STATIC_INLINE uint32_t LL_ADC_GetDataAlignment
(ADC_TypeDef * ADCx)
Get ADC conversion data alignment.
ADCx: ADC instance
Returned: value can be one of the following values:
LL_ADC_DATA_ALIGN_RIGHT
LL_ADC_DATA_ALIGN_LEFT
Refer to reference manual for alignments formats
dependencies to ADC resolutions.
CR2 ALIGN LL_ADC_SetDataAlignment
__STATIC_INLINE void LL_ADC_SetSequencersScanMode
(ADC_TypeDef * ADCx, uint32_t ScanMode)
Set ADC sequencers scan mode, for all ADC groups (group
regular, group injected).
ADCx: ADC instance
ScanMode: This parameter can be one of the following
values:
LL_ADC_SEQ_SCAN_DISABLE
LL_ADC_SEQ_SCAN_ENABLE
None:
According to sequencers scan mode : If disabled: ADC
conversion is performed in unitary conversion mode (one
channel converted, that defined in rank 1). Configuration of
sequencers of all ADC groups (sequencer scan length, ...) is
discarded: equivalent to scan length of 1 rank.If enabled: ADC
conversions are performed in sequence conversions mode,
according to configuration of sequencers of each ADC group
(sequencer scan length, ...). Refer to function
LL_ADC_REG_SetSequencerLength() and to function
LL_ADC_INJ_SetSequencerLength().
CR1 SCAN LL_ADC_SetSequencersScanMode
DocID028236 Rev 2
LL ADC Generic Driver
703/1371

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

Table of Contents

Save PDF