|
enum | {
kGPC_CM_EventWakeupRequest,
kGPC_CM_DebugWakeupRequest
} |
| _gpc_cm_non_irq_wakeup_request GPC Non-IRQ wakeup request. More...
|
|
enum | {
kGPC_SetPoint0 = 1UL << 0UL,
kGPC_SetPoint1 = 1UL << 1UL,
kGPC_SetPoint2 = 1UL << 2UL,
kGPC_SetPoint3 = 1UL << 3UL,
kGPC_SetPoint4 = 1UL << 4UL,
kGPC_SetPoint5 = 1UL << 5UL,
kGPC_SetPoint6 = 1UL << 6UL,
kGPC_SetPoint7 = 1UL << 7UL,
kGPC_SetPoint8 = 1UL << 8UL,
kGPC_SetPoint9 = 1UL << 9UL,
kGPC_SetPoint10 = 1UL << 10UL,
kGPC_SetPoint11 = 1UL << 11UL,
kGPC_SetPoint12 = 1UL << 12UL,
kGPC_SetPoint13 = 1UL << 13UL,
kGPC_SetPoint14 = 1UL << 14UL,
kGPC_SetPoint15 = 1UL << 15UL
} |
|
enum | |
| _gpc_cm_interrupt_status_flag
|
|
enum | gpc_cm_standby_mode_status_t {
kGPC_CM_SleepBusy,
kGPC_CM_WakeupBusy
} |
| CPU standby mode status. 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_SleepSP = 6UL,
kGPC_CM_SleepSTBY = 7UL,
kGPC_CM_WakeupSTBY = 8UL,
kGPC_CM_WakeupSP = 9UL,
kGPC_CM_WakeupPower = 10UL,
kGPC_CM_WakeupReset = 11UL,
kGPC_CM_WakeupIso = 12UL,
kGPC_CM_WakeupPll = 13UL,
kGPC_CM_WakeupLpcg = 14UL,
kGPC_CM_WakeupSsar = 15UL
} |
| CPU mode transition step in sleep/wakeup sequence. More...
|
|
enum | gpc_tran_step_counter_mode_t {
kGPC_StepCounterDisableMode,
kGPC_StepCounterDelayMode,
kGPC_StepCounterIgnoreResponseMode = 2UL,
kGPC_StepCounterTimeOutMode = 3UL
} |
| Step counter work mode. More...
|
|
enum | gpc_sp_tran_step_t {
kGPC_SP_SsarSave = 0UL,
kGPC_SP_LpcgOff = 1UL,
kGPC_SP_GroupDown = 2UL,
kGPC_SP_RootDown = 3UL,
kGPC_SP_PllOff = 4UL,
kGPC_SP_IsoOn = 5UL,
kGPC_SP_ResetEarly = 6UL,
kGPC_SP_PowerOff = 7UL,
kGPC_SP_BiasOff = 8UL,
kGPC_SP_BandgapPllLdoOff = 9UL,
kGPC_SP_LdoPre = 10UL,
kGPC_SP_DcdcDown = 11UL,
kGPC_SP_DcdcUp = 12UL,
kGPC_SP_LdoPost = 13UL,
kGPC_SP_BandgapPllLdoOn = 14UL,
kGPC_SP_BiasOn = 15UL,
kGPC_SP_PowerOn = 16UL,
kGPC_SP_ResetLate = 17UL,
kGPC_SP_IsoOff = 18UL,
kGPC_SP_PllOn = 19UL,
kGPC_SP_RootUp = 20UL,
kGPC_SP_GroupUp = 21UL,
kGPC_SP_LpcgOn = 22UL,
kGPC_SP_SsarRestore = 23UL
} |
| GPC set point transition steps. More...
|
|
enum | gpc_cpu_mode_t {
kGPC_RunMode = 0x0UL,
kGPC_WaitMode = 0x1UL,
kGPC_StopMode = 0x2UL,
kGPC_SuspendMode = 0x3UL
} |
| CPU mode. More...
|
|
enum | gpc_cm_wakeup_sp_sel_t {
kGPC_CM_WakeupSetpoint,
kGPC_CM_RequestPreviousSetpoint = 1UL
} |
|
enum | gpc_stby_tran_step_t {
kGPC_STBY_LpcgIn = 0UL,
kGPC_STBY_PllIn = 1UL,
kGPC_STBY_BiasIn = 2UL,
kGPC_STBY_PldoIn = 3UL,
kGPC_STBY_BandgapIn = 4UL,
kGPC_STBY_LdoIn = 5UL,
kGPC_STBY_DcdcIn = 6UL,
kGPC_STBY_PmicIn = 7UL,
kGPC_STBY_PmicOut = 8UL,
kGPC_STBY_DcdcOut = 9UL,
kGPC_STBY_LdoOut = 10UL,
kGPC_STBY_BandgapOut = 11UL,
kGPC_STBY_PldoOut = 12UL,
kGPC_STBY_BiasOut = 13UL,
kGPC_STBY_PllOut = 14UL,
kGPC_STBY_LpcgOut = 15UL
} |
| GPC standby mode transition steps. More...
|
|
|
static void | GPC_CM_EnableCpuSleepHold (GPC_CPU_MODE_CTRL_Type *base, bool enable) |
|
static void | GPC_CM_SetNextCpuMode (GPC_CPU_MODE_CTRL_Type *base, 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_MODE_CTRL_Type *base) |
| Get current CPU mode. More...
|
|
static gpc_cpu_mode_t | GPC_CM_GetPreviousCpuMode (GPC_CPU_MODE_CTRL_Type *base) |
| Get previous CPU mode. More...
|
|
void | GPC_CM_EnableIrqWakeup (GPC_CPU_MODE_CTRL_Type *base, uint32_t irqId, bool enable) |
| Enable IRQ wakeup request. More...
|
|
static void | GPC_CM_EnableNonIrqWakeup (GPC_CPU_MODE_CTRL_Type *base, uint32_t mask, bool enable) |
| Enable Non-IRQ wakeup request. More...
|
|
bool | GPC_CM_GetIrqWakeupStatus (GPC_CPU_MODE_CTRL_Type *base, uint32_t irqId) |
| Get the status of the IRQ wakeup request. More...
|
|
static bool | GPC_CM_GetNonIrqWakeupStatus (GPC_CPU_MODE_CTRL_Type *base, uint32_t mask) |
| Get the status of the Non-IRQ wakeup request. More...
|
|
void | GPC_CM_ConfigCpuModeTransitionStep (GPC_CPU_MODE_CTRL_Type *base, gpc_cm_tran_step_t step, const gpc_tran_step_config_t *config) |
| Config the cpu mode transition step. More...
|
|
void | GPC_CM_RequestSleepModeSetPointTransition (GPC_CPU_MODE_CTRL_Type *base, uint8_t setPointSleep, uint8_t setPointWakeup, gpc_cm_wakeup_sp_sel_t wakeupSel) |
| Request a set point transition before the CPU transfers into a sleep mode. More...
|
|
void | GPC_CM_RequestRunModeSetPointTransition (GPC_CPU_MODE_CTRL_Type *base, uint8_t setPointRun) |
| Request a set point transition during run mode. More...
|
|