STM32F439xx HAL User Manual
Functions
Configuration of ADC hierarchical scope: ADC instance
ADC Exported Functions

Functions

__STATIC_INLINE void LL_ADC_SetResolution (ADC_TypeDef *ADCx, uint32_t Resolution)
 Set ADC resolution.
__STATIC_INLINE uint32_t LL_ADC_GetResolution (ADC_TypeDef *ADCx)
 Get ADC resolution.
__STATIC_INLINE void LL_ADC_SetDataAlignment (ADC_TypeDef *ADCx, uint32_t DataAlignment)
 Set ADC conversion data alignment.
__STATIC_INLINE uint32_t LL_ADC_GetDataAlignment (ADC_TypeDef *ADCx)
 Get ADC conversion data alignment.
__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).
__STATIC_INLINE uint32_t LL_ADC_GetSequencersScanMode (ADC_TypeDef *ADCx)
 Get ADC sequencers scan mode, for all ADC groups (group regular, group injected).

Function Documentation

__STATIC_INLINE uint32_t LL_ADC_GetDataAlignment ( ADC_TypeDef *  ADCx)

Get ADC conversion data alignment.

Note:
Refer to reference manual for alignments formats dependencies to ADC resolutions.
Reference Manual to LL API cross reference:
CR2 ALIGN LL_ADC_SetDataAlignment
Parameters:
ADCxADC instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 1961 of file stm32f4xx_ll_adc.h.

__STATIC_INLINE uint32_t LL_ADC_GetResolution ( ADC_TypeDef *  ADCx)

Get ADC resolution.

Refer to reference manual for alignments formats dependencies to ADC resolutions.

Reference Manual to LL API cross reference:
CR1 RES LL_ADC_GetResolution
Parameters:
ADCxADC instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 1930 of file stm32f4xx_ll_adc.h.

__STATIC_INLINE uint32_t LL_ADC_GetSequencersScanMode ( ADC_TypeDef *  ADCx)

Get ADC sequencers scan mode, for all ADC groups (group regular, group injected).

Note:
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().
Reference Manual to LL API cross reference:
CR1 SCAN LL_ADC_GetSequencersScanMode
Parameters:
ADCxADC instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 2012 of file stm32f4xx_ll_adc.h.

__STATIC_INLINE void LL_ADC_SetDataAlignment ( ADC_TypeDef *  ADCx,
uint32_t  DataAlignment 
)

Set ADC conversion data alignment.

Note:
Refer to reference manual for alignments formats dependencies to ADC resolutions.
Reference Manual to LL API cross reference:
CR2 ALIGN LL_ADC_SetDataAlignment
Parameters:
ADCxADC instance
DataAlignmentThis parameter can be one of the following values:
Return values:
None

Definition at line 1946 of file stm32f4xx_ll_adc.h.

__STATIC_INLINE void LL_ADC_SetResolution ( ADC_TypeDef *  ADCx,
uint32_t  Resolution 
)

Set ADC resolution.

Refer to reference manual for alignments formats dependencies to ADC resolutions.

Reference Manual to LL API cross reference:
CR1 RES LL_ADC_SetResolution
Parameters:
ADCxADC instance
ResolutionThis parameter can be one of the following values:
Return values:
None

Definition at line 1913 of file stm32f4xx_ll_adc.h.

__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).

Note:
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().
Reference Manual to LL API cross reference:
CR1 SCAN LL_ADC_SetSequencersScanMode
Parameters:
ADCxADC instance
ScanModeThis parameter can be one of the following values:
Return values:
None

Definition at line 1987 of file stm32f4xx_ll_adc.h.