Hardware Abstraction Layer (HAL)

General Description

ADC specific return codes.

Macros

#define CYHAL_ADC_RSLT_BAD_ARGUMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_ADC, 0))
 Bad argument.
 
#define CYHAL_ADC_RSLT_FAILED_CLOCK   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_ADC, 1))
 Failed to initialize ADC clock.
 
#define CYHAL_ADC_RSLT_FAILED_INIT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_ADC, 2))
 Failed to initialize ADC.
 
#define CYHAL_ADC_RSLT_NO_CHANNELS   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_ADC, 3))
 No channels available.