STM32L486xx HAL User Manual
Data Fields
LL_ADC_InitTypeDef Struct Reference

Structure definition of some features of ADC instance. More...

#include <stm32l4xx_ll_adc.h>

Data Fields

uint32_t Resolution
uint32_t DataAlignment
uint32_t LowPowerMode

Detailed Description

Structure definition of some features of ADC instance.

Note:
These parameters have an impact on ADC scope: ADC instance. Affects both group regular and group injected (availability of ADC group injected depends on STM32 families). Refer to corresponding unitary functions into Configuration of ADC hierarchical scope: ADC instance .
The setting of these parameters by function LL_ADC_Init() is conditioned to ADC state: ADC instance must be disabled. This condition is applied to all ADC features, for efficiency and compatibility over all STM32 families. However, the different features can be set under different ADC state conditions (setting possible with ADC enabled without conversion on going, ADC enabled with conversion on going, ...) Each feature can be updated afterwards with a unitary function and potentially with ADC in a different state than disabled, refer to description of each function for setting conditioned to ADC state.

Definition at line 483 of file stm32l4xx_ll_adc.h.


Field Documentation

Set ADC conversion data alignment. This parameter can be a value of ADC instance - Data alignment

This feature can be modified afterwards using unitary function LL_ADC_SetDataAlignment().

Definition at line 490 of file stm32l4xx_ll_adc.h.

Referenced by LL_ADC_Init(), and LL_ADC_StructInit().

Set ADC low power mode. This parameter can be a value of ADC instance - Low power mode

This feature can be modified afterwards using unitary function LL_ADC_SetLowPowerMode().

Definition at line 495 of file stm32l4xx_ll_adc.h.

Referenced by LL_ADC_Init(), and LL_ADC_StructInit().

Set ADC resolution. This parameter can be a value of ADC instance - Resolution

This feature can be modified afterwards using unitary function LL_ADC_SetResolution().

Definition at line 485 of file stm32l4xx_ll_adc.h.

Referenced by LL_ADC_Init(), and LL_ADC_StructInit().


The documentation for this struct was generated from the following file: