Hardware Abstraction Layer (HAL)

General Description

DAC specific return codes.

Macros

#define CYHAL_DAC_RSLT_BAD_ARGUMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DAC, 0))
 Bad argument.
 
#define CYHAL_DAC_RSLT_FAILED_INIT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DAC, 1))
 Failed to initialize DAC.
 
#define CYHAL_DAC_RSLT_BAD_REF_VOLTAGE   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DAC, 2))
 Reference voltage is not set.
 
#define CYHAL_DAC_RSLT_BAD_OPAMP_INSTANCE   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DAC, 1))
 Bad OPAMP instance is selected.