STM32F479xx HAL User Manual
Defines
ADC Error Code
ADC Exported Constants

Defines

#define HAL_ADC_ERROR_NONE   0x00U
#define HAL_ADC_ERROR_INTERNAL   0x01U
#define HAL_ADC_ERROR_OVR   0x02U
#define HAL_ADC_ERROR_DMA   0x04U
#define HAL_ADC_ERROR_INVALID_CALLBACK   (0x10U)

Define Documentation

#define HAL_ADC_ERROR_DMA   0x04U
#define HAL_ADC_ERROR_INTERNAL   0x01U

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

Definition at line 258 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().

#define HAL_ADC_ERROR_INVALID_CALLBACK   (0x10U)

Invalid Callback error

Definition at line 263 of file stm32f4xx_hal_adc.h.

Referenced by HAL_ADC_RegisterCallback(), and HAL_ADC_UnRegisterCallback().

#define HAL_ADC_ERROR_NONE   0x00U

No error

Definition at line 257 of file stm32f4xx_hal_adc.h.

#define HAL_ADC_ERROR_OVR   0x02U