Hardware Abstraction Layer (HAL)

General Description

Quadrature Decoder specific return codes.

Macros

#define CYHAL_QUADDEC_RSLT_ERR_BAD_ARGUMENT    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_QUADDEC, 0))
 Bad argument. More...
 
#define CYHAL_QUADDEC_RSLT_ERR_CLOCK_INIT    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_QUADDEC, 1))
 Failed to initialize the quadrature decoder clock.
 
#define CYHAL_QUADDEC_RSLT_ERR_NOT_SUPPORTED    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_QUADDEC, 2))
 The function is not supported with a particular device.
 

Macro Definition Documentation

◆ CYHAL_QUADDEC_RSLT_ERR_BAD_ARGUMENT

#define CYHAL_QUADDEC_RSLT_ERR_BAD_ARGUMENT    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_QUADDEC, 0))

Bad argument.

eg: null pointer