STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
ADC Exported Types
Collaboration diagram for ADC Exported Types:

Data Structures

struct  ADC_InitTypeDef
 Structure definition of ADC and regular group initialization. More...
 
struct  ADC_ChannelConfTypeDef
 Structure definition of ADC channel for regular group. More...
 
struct  ADC_AnalogWDGConfTypeDef
 ADC Configuration multi-mode structure definition. More...
 
struct  ADC_HandleTypeDef
 ADC handle Structure definition. More...
 

Macros

#define HAL_ADC_STATE_RESET   0x00000000U
 HAL ADC state machine: ADC states definition (bitfields)
 
#define HAL_ADC_STATE_READY   0x00000001U
 
#define HAL_ADC_STATE_BUSY_INTERNAL   0x00000002U
 
#define HAL_ADC_STATE_TIMEOUT   0x00000004U
 
#define HAL_ADC_STATE_ERROR_INTERNAL   0x00000010U
 
#define HAL_ADC_STATE_ERROR_CONFIG   0x00000020U
 
#define HAL_ADC_STATE_ERROR_DMA   0x00000040U
 
#define HAL_ADC_STATE_REG_BUSY   0x00000100U
 
#define HAL_ADC_STATE_REG_EOC   0x00000200U
 
#define HAL_ADC_STATE_REG_OVR   0x00000400U
 
#define HAL_ADC_STATE_INJ_BUSY   0x00001000U
 
#define HAL_ADC_STATE_INJ_EOC   0x00002000U
 
#define HAL_ADC_STATE_AWD1   0x00010000U
 
#define HAL_ADC_STATE_AWD2   0x00020000U
 
#define HAL_ADC_STATE_AWD3   0x00040000U
 
#define HAL_ADC_STATE_MULTIMODE_SLAVE   0x00100000U
 

Detailed Description

Macro Definition Documentation

◆ HAL_ADC_STATE_RESET

#define HAL_ADC_STATE_RESET   0x00000000U

#include <stm32f4xx_hal_adc.h>

HAL ADC state machine: ADC states definition (bitfields)

ADC not yet initialized or disabled

Definition at line 159 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_DeInit(), and HAL_ADC_Init().

◆ HAL_ADC_STATE_READY

◆ HAL_ADC_STATE_BUSY_INTERNAL

#define HAL_ADC_STATE_BUSY_INTERNAL   0x00000002U

#include <stm32f4xx_hal_adc.h>

ADC is busy to internal process (initialization, calibration)

Definition at line 161 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_DeInit(), and HAL_ADC_Init().

◆ HAL_ADC_STATE_TIMEOUT

#define HAL_ADC_STATE_TIMEOUT   0x00000004U

#include <stm32f4xx_hal_adc.h>

TimeOut occurrence

Definition at line 162 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_PollForConversion(), HAL_ADC_PollForEvent(), and HAL_ADCEx_InjectedPollForConversion().

◆ HAL_ADC_STATE_ERROR_INTERNAL

◆ HAL_ADC_STATE_ERROR_CONFIG

#define HAL_ADC_STATE_ERROR_CONFIG   0x00000020U

#include <stm32f4xx_hal_adc.h>

Configuration error occurrence

Definition at line 166 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_PollForConversion(), HAL_ADCEx_InjectedStop(), and HAL_ADCEx_InjectedStop_IT().

◆ HAL_ADC_STATE_ERROR_DMA

#define HAL_ADC_STATE_ERROR_DMA   0x00000040U

◆ HAL_ADC_STATE_REG_BUSY

#define HAL_ADC_STATE_REG_BUSY   0x00000100U

#include <stm32f4xx_hal_adc.h>

A conversion on group regular is ongoing or can occur (either by continuous mode, external trigger, low power auto power-on (if feature available), multimode ADC master control (if feature available))

Definition at line 170 of file stm32f4xx_hal_adc.h.

Referenced by ADC_DMAConvCplt(), ADC_MultiModeDMAConvCplt(), HAL_ADC_Init(), HAL_ADC_IRQHandler(), HAL_ADC_PollForConversion(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADC_Stop(), HAL_ADC_Stop_DMA(), HAL_ADC_Stop_IT(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), HAL_ADCEx_InjectedStop(), HAL_ADCEx_InjectedStop_IT(), HAL_ADCEx_MultiModeStart_DMA(), and HAL_ADCEx_MultiModeStop_DMA().

◆ HAL_ADC_STATE_REG_EOC

#define HAL_ADC_STATE_REG_EOC   0x00000200U

◆ HAL_ADC_STATE_REG_OVR

#define HAL_ADC_STATE_REG_OVR   0x00000400U

◆ HAL_ADC_STATE_INJ_BUSY

#define HAL_ADC_STATE_INJ_BUSY   0x00001000U

#include <stm32f4xx_hal_adc.h>

A conversion on group injected is ongoing or can occur (either by auto-injection mode, external trigger, low power auto power-on (if feature available), multimode ADC master control (if feature available))

Definition at line 176 of file stm32f4xx_hal_adc.h.

Referenced by ADC_DMAConvCplt(), ADC_MultiModeDMAConvCplt(), HAL_ADC_Init(), HAL_ADC_IRQHandler(), HAL_ADC_PollForConversion(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADC_Stop(), HAL_ADC_Stop_DMA(), HAL_ADC_Stop_IT(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), HAL_ADCEx_InjectedStop(), HAL_ADCEx_InjectedStop_IT(), HAL_ADCEx_MultiModeStart_DMA(), and HAL_ADCEx_MultiModeStop_DMA().

◆ HAL_ADC_STATE_INJ_EOC

#define HAL_ADC_STATE_INJ_EOC   0x00002000U

◆ HAL_ADC_STATE_AWD1

#define HAL_ADC_STATE_AWD1   0x00010000U

#include <stm32f4xx_hal_adc.h>

Out-of-window occurrence of analog watchdog 1

Definition at line 181 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_IRQHandler(), and HAL_ADC_PollForEvent().

◆ HAL_ADC_STATE_AWD2

#define HAL_ADC_STATE_AWD2   0x00020000U

#include <stm32f4xx_hal_adc.h>

Not available on STM32F4 device: Out-of-window occurrence of analog watchdog 2

Definition at line 182 of file stm32f4xx_hal_adc.h.

◆ HAL_ADC_STATE_AWD3

#define HAL_ADC_STATE_AWD3   0x00040000U

#include <stm32f4xx_hal_adc.h>

Not available on STM32F4 device: Out-of-window occurrence of analog watchdog 3

Definition at line 183 of file stm32f4xx_hal_adc.h.

◆ HAL_ADC_STATE_MULTIMODE_SLAVE

#define HAL_ADC_STATE_MULTIMODE_SLAVE   0x00100000U

#include <stm32f4xx_hal_adc.h>

Not available on STM32F4 device: ADC in multimode slave state, controlled by another ADC master (

Definition at line 186 of file stm32f4xx_hal_adc.h.