PSoC 6 Peripheral Driver Library
The Power Mode Status Defines

General Description

Defines for the CPU and system power modes status.

Macros

#define CY_SYSPM_STATUS_CM4_ACTIVE   (0x01U)
 The CM4 is in CPU Active mode.
 
#define CY_SYSPM_STATUS_CM4_SLEEP   (0x02U)
 The CM4 is in CPU Sleep mode.
 
#define CY_SYSPM_STATUS_CM4_DEEPSLEEP   (0x04U)
 The CM4 is in CPU Deep Sleep mode.
 
#define CY_SYSPM_STATUS_CM0_ACTIVE   ((uint32_t) 0x01U << 8U)
 The CM0p is CPU Active mode.
 
#define CY_SYSPM_STATUS_CM0_SLEEP   ((uint32_t) 0x02U << 8U)
 The CM0p is in CPU Sleep mode.
 
#define CY_SYSPM_STATUS_CM0_DEEPSLEEP   ((uint32_t) 0x04U << 8U)
 The CM0p is in CPU Deep Sleep mode.
 
#define CY_SYSPM_STATUS_SYSTEM_LP   (0x80U)
 The system is Low Power mode.
 
#define CY_SYSPM_STATUS_SYSTEM_ULP   ((uint32_t) 0x08U << 8U)
 The system is in Ultra Low Power mode.