STM32F103xB 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

DMA transfer error

Definition at line 246 of file stm32f1xx_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: if problem of clocking, enable/disable, erroneous state

Definition at line 243 of file stm32f1xx_hal_adc.h.

Referenced by ADC_ConversionStop_Disable(), ADC_Enable(), and HAL_ADC_Init().

#define HAL_ADC_ERROR_INVALID_CALLBACK   (0x10U)

Invalid Callback error

Definition at line 249 of file stm32f1xx_hal_adc.h.

Referenced by HAL_ADC_RegisterCallback(), and HAL_ADC_UnRegisterCallback().

#define HAL_ADC_ERROR_NONE   0x00U

No error

Definition at line 242 of file stm32f1xx_hal_adc.h.

#define HAL_ADC_ERROR_OVR   0x02U

Overrun error

Definition at line 245 of file stm32f1xx_hal_adc.h.

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