STM32H735xx 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_JQOVF   (0x08U)
#define HAL_ADC_ERROR_INVALID_CALLBACK   (0x10U)

Define Documentation

#define HAL_ADC_ERROR_DMA   (0x04U)

DMA transfer error

Definition at line 477 of file stm32h7xx_hal_adc.h.

Referenced by ADC_DMAError(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), and HAL_ADC_Start_IT().

#define HAL_ADC_ERROR_INTERNAL   (0x01U)

ADC peripheral internal error (problem of clocking, enable/disable, erroneous state, ...)

Definition at line 474 of file stm32h7xx_hal_adc.h.

Referenced by ADC_ConversionStop(), ADC_Disable(), ADC_Enable(), HAL_ADC_Init(), HAL_ADC_IRQHandler(), HAL_ADCEx_Calibration_SetValue(), and HAL_ADCEx_LinearCalibration_SetValue().

#define HAL_ADC_ERROR_INVALID_CALLBACK   (0x10U)

Invalid Callback error

Definition at line 480 of file stm32h7xx_hal_adc.h.

Referenced by HAL_ADC_RegisterCallback(), and HAL_ADC_UnRegisterCallback().

#define HAL_ADC_ERROR_JQOVF   (0x08U)

Injected context queue overflow error

Definition at line 478 of file stm32h7xx_hal_adc.h.

Referenced by HAL_ADC_IRQHandler(), HAL_ADC_PollForEvent(), HAL_ADCEx_InjectedStart(), and HAL_ADCEx_InjectedStart_IT().

#define HAL_ADC_ERROR_NONE   (0x00U)
#define HAL_ADC_ERROR_OVR   (0x02U)