Hardware Abstraction Layer (HAL)

General Description

SYSPM specific return codes.

Macros

#define CYHAL_SYSPM_RSLT_BAD_ARGUMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SYSPM, 0))
 Incorrect argument passed into a function. More...
 
#define CYHAL_SYSPM_RSLT_INIT_ERROR   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SYSPM, 1))
 Driver was unable to be initialized. More...
 
#define CYHAL_SYSPM_RSLT_CB_REGISTER_ERROR   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SYSPM, 2))
 Failed to register callback.
 
#define CYHAL_SYSPM_RSLT_ERR_PM_PENDING   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SYSPM, 3))
 Power Management transition is pending, data cannot be transferred.
 
#define CYHAL_SYSPM_RSLT_ERR_NOT_SUPPORTED   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SYSPM, 4))
 Functionality not supported on the current platform.
 

Macro Definition Documentation

◆ CYHAL_SYSPM_RSLT_BAD_ARGUMENT

#define CYHAL_SYSPM_RSLT_BAD_ARGUMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SYSPM, 0))

Incorrect argument passed into a function.

◆ CYHAL_SYSPM_RSLT_INIT_ERROR

#define CYHAL_SYSPM_RSLT_INIT_ERROR   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SYSPM, 1))

Driver was unable to be initialized.