STM32L486xx 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 435 of file stm32l4xx_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 IP internal error (problem of clocking, enable/disable, erroneous state, ...)

Definition at line 432 of file stm32l4xx_hal_adc.h.

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

#define HAL_ADC_ERROR_INVALID_CALLBACK   (0x10U)

Invalid Callback error

Definition at line 438 of file stm32l4xx_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 436 of file stm32l4xx_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)

No error

Definition at line 431 of file stm32l4xx_hal_adc.h.

#define HAL_ADC_ERROR_OVR   (0x02U)