Hardware Abstraction Layer (HAL)

General Description

SYSPM specific return codes.

Macros

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