Hardware Abstraction Layer (HAL)

General Description

Comparator specific return codes.

Macros

#define CYHAL_COMP_RSLT_ERR_INVALID_PIN   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_COMP, 1))
 The requested pins are invalid.
 
#define CYHAL_COMP_RSLT_ERR_BAD_ARGUMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_COMP, 2))
 Bad argument.