|
enum | { kGPC_CM_DebugWakeupRequest
} |
| _gpc_cm_non_irq_wakeup_request GPC Non-IRQ wakeup request. More...
|
|
enum | {
kGPC_Domain0 = 1UL << 0UL,
kGPC_Domain1 = 1UL << 1UL,
kGPC_Domain2 = 1UL << 2UL,
kGPC_Domain3 = 1UL << 3UL,
kGPC_Domain4 = 1UL << 4UL,
kGPC_Domain5 = 1UL << 5UL,
kGPC_Domain6 = 1UL << 6UL,
kGPC_Domain7 = 1UL << 7UL,
kGPC_Domain8 = 1UL << 8UL,
kGPC_Domain9 = 1UL << 9UL,
kGPC_Domain10 = 1UL << 10UL,
kGPC_Domain11 = 1UL << 11UL,
kGPC_Domain12 = 1UL << 12UL,
kGPC_Domain13 = 1UL << 13UL,
kGPC_Domain14 = 1UL << 14UL,
kGPC_Domain15 = 1UL << 15UL
} |
|
enum | gpc_cpu_slice_t {
kGPC_CPU0 = 0x0U,
kGPC_CPU1 = 0x1U
} |
| CPU slice. More...
|
|
enum | gpc_cm_tran_step_t {
kGPC_CM_SleepSsar = 0UL,
kGPC_CM_SleepLpcg = 1UL,
kGPC_CM_SleepPll = 2UL,
kGPC_CM_SleepIso = 3UL,
kGPC_CM_SleepReset = 4UL,
kGPC_CM_SleepPower = 5UL,
kGPC_CM_SleepSYS,
kGPC_CM_WakeupSYS,
kGPC_CM_WakeupPower = 8UL,
kGPC_CM_WakeupReset = 9UL,
kGPC_CM_WakeupIso = 10UL,
kGPC_CM_WakeupPll = 11UL,
kGPC_CM_WakeupLpcg = 12UL,
kGPC_CM_WakeupSsar = 13UL
} |
| CPU mode transition step in sleep/wakeup sequence. More...
|
|
enum | gpc_cpu_mode_t {
kGPC_RunMode = 0x0UL,
kGPC_WaitMode = 0x1UL,
kGPC_StopMode = 0x2UL,
kGPC_SuspendMode = 0x3UL
} |
| CPU mode. More...
|
|
enum | gpc_ss_tran_step_t {
kGPC_SS_Step0In = 0UL,
kGPC_SS_Step1In = 1UL,
kGPC_SS_Step2In = 2UL,
kGPC_SS_Step3In = 3UL,
kGPC_SS_DcdcIn = 4UL,
kGPC_SS_PmicIn = 5UL,
kGPC_SS_PmicOut = 6UL,
kGPC_SS_DcdcOut = 7UL,
kGPC_SS_Step3Out = 8UL,
kGPC_SS_Step2Out = 9UL,
kGPC_SS_Step1Out = 10UL,
kGPC_SS_Step0Out = 11UL
} |
| GPC system sleep mode transition steps. More...
|
|
|
static void | GPC_CM_EnableCpuSleepHold (gpc_cpu_slice_t slice, bool enable) |
|
static void | GPC_CM_SetNextCpuMode (gpc_cpu_slice_t slice, gpc_cpu_mode_t mode) |
| Set the CPU mode on the next sleep event. More...
|
|
static gpc_cpu_mode_t | GPC_CM_GetCurrentCpuMode (gpc_cpu_slice_t slice) |
| Get current CPU mode. More...
|
|
static gpc_cpu_mode_t | GPC_CM_GetPreviousCpuMode (gpc_cpu_slice_t slice) |
| Get previous CPU mode. More...
|
|
void | GPC_CM_EnableIrqWakeup (gpc_cpu_slice_t slice, uint32_t irqId, bool enable) |
| Enable IRQ wakeup request. More...
|
|
static void | GPC_CM_EnableNonIrqWakeup (gpc_cpu_slice_t slice, uint32_t mask, bool enable) |
| Enable Non-IRQ wakeup request. More...
|
|
bool | GPC_CM_GetIrqWakeupStatus (gpc_cpu_slice_t slice, uint32_t irqId) |
| Get the status of the IRQ wakeup request. More...
|
|
static bool | GPC_CM_GetNonIrqWakeupStatus (gpc_cpu_slice_t slice, uint32_t mask) |
| Get the status of the Non-IRQ wakeup request. More...
|
|
void | GPC_CM_EnableCpuModeTransitionStep (gpc_cpu_slice_t slice, gpc_cm_tran_step_t step, bool enable) |
| brief Config the cpu mode transition step. More...
|
|
void | GPC_CM_RequestSystemSleepMode (gpc_cpu_slice_t slice, const gpc_cpu_mode_t mode) |
| Request the chip into system sleep mode. More...
|
|
void | GPC_CM_ClearSystemSleepModeRequest (gpc_cpu_slice_t slice, const gpc_cpu_mode_t mode) |
| Clear the system sleep mode request. More...
|
|
static bool | GPC_CM_GetSystemSleepModeStatus (gpc_cpu_slice_t slice, uint32_t mask) |
| Get the status of the CPU system sleep mode transition. More...
|
|