Enumerations | |
enum | cy_en_syspm_status_t { CY_SYSPM_SUCCESS = 0x0U, CY_SYSPM_BAD_PARAM = CY_SYSPM_ID | CY_PDL_STATUS_ERROR | 0x01U, CY_SYSPM_TIMEOUT = CY_SYSPM_ID | CY_PDL_STATUS_ERROR | 0x02U, CY_SYSPM_INVALID_STATE = CY_SYSPM_ID | CY_PDL_STATUS_ERROR | 0x03U, CY_SYSPM_CANCELED = CY_SYSPM_ID | CY_PDL_STATUS_ERROR | 0x04U, CY_SYSPM_SYSCALL_PENDING = CY_SYSPM_ID | CY_PDL_STATUS_ERROR | 0x05U, CY_SYSPM_FAIL = CY_SYSPM_ID | CY_PDL_STATUS_ERROR | 0xFFU } |
The SysPm function return value status definitions. More... | |
enum | cy_en_syspm_waitfor_t { CY_SYSPM_WAIT_FOR_INTERRUPT, CY_SYSPM_WAIT_FOR_EVENT } |
This enumeration is used to initialize the functions wait action. More... | |
enum | cy_en_syspm_callback_type_t { CY_SYSPM_SLEEP = 0U, CY_SYSPM_DEEPSLEEP = 1U, CY_SYSPM_HIBERNATE = 2U, CY_SYSPM_STOP = 3U } |
This enumeration is used to select the low power mode for which the appropriate registered callback handler will be executed. More... | |
enum | cy_en_syspm_callback_mode_t { CY_SYSPM_CHECK_READY = 0x01U, CY_SYSPM_CHECK_FAIL = 0x02U, CY_SYSPM_BEFORE_TRANSITION = 0x04U, CY_SYSPM_AFTER_TRANSITION = 0x08U } |
This enumeration specifies the associated callback mode. More... | |
enum cy_en_syspm_status_t |
The SysPm function return value status definitions.
This enumeration is used to select the low power mode for which the appropriate registered callback handler will be executed.
For example, the registered callback of the type CY_SYSPM_SLEEP will be executed while switching into the Sleep power mode.
This enumeration specifies the associated callback mode.
This enum defines the callback mode.