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

Macros

#define HAL_ADC_ERROR_NONE   0x00U
 
#define HAL_ADC_ERROR_INTERNAL   0x01U
 
#define HAL_ADC_ERROR_OVR   0x02U
 
#define HAL_ADC_ERROR_DMA   0x04U
 

Detailed Description

Macro Definition Documentation

◆ HAL_ADC_ERROR_NONE

#define HAL_ADC_ERROR_NONE   0x00U

#include <stm32f4xx_hal_adc.h>

No error

Definition at line 256 of file stm32f4xx_hal_adc.h.

◆ HAL_ADC_ERROR_INTERNAL

#define HAL_ADC_ERROR_INTERNAL   0x01U

#include <stm32f4xx_hal_adc.h>

ADC IP internal error: if problem of clocking, enable/disable, erroneous state

Definition at line 257 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), and HAL_ADCEx_MultiModeStart_DMA().

◆ HAL_ADC_ERROR_OVR

#define HAL_ADC_ERROR_OVR   0x02U

◆ HAL_ADC_ERROR_DMA

#define HAL_ADC_ERROR_DMA   0x04U