|
enum | {
kPGMC_SetPoint0 = 1UL << 0UL,
kPGMC_SetPoint1 = 1UL << 1UL,
kPGMC_SetPoint2 = 1UL << 2UL,
kPGMC_SetPoint3 = 1UL << 3UL,
kPGMC_SetPoint4 = 1UL << 4UL,
kPGMC_SetPoint5 = 1UL << 5UL,
kPGMC_SetPoint6 = 1UL << 6UL,
kPGMC_SetPoint7 = 1UL << 7UL,
kPGMC_SetPoint8 = 1UL << 8UL,
kPGMC_SetPoint9 = 1UL << 9UL,
kPGMC_SetPoint10 = 1UL << 10UL,
kPGMC_SetPoint11 = 1UL << 11UL,
kPGMC_SetPoint12 = 1UL << 12UL,
kPGMC_SetPoint13 = 1UL << 13UL,
kPGMC_SetPoint14 = 1UL << 14UL,
kPGMC_SetPoint15 = 1UL << 15UL
} |
| The enumeration of setpoint. More...
|
|
enum | _pgmc_mif_signal_behaviour {
kPGMC_AssertSleepSignal = 1U << 0U,
kPGMC_AssertInputGateSignal = 1U << 1U,
kPGMC_AssetLowSpeedSignal = 1U << 2U,
kPGMC_AssertHighSpeedSignal = 1U << 3U,
kPGMC_AssertStandbySignal = 1U << 4U,
kPGMC_AssertArrayPowerDownSignal = 1U << 5U,
kPGMC_AssertPeripheralPowerDownSignal = 1U << 6U,
kPGMC_AssertInitnSignal = 1U << 7U,
kPGMC_AssertSwitch1OffSignal = 1U << 8U,
kPGMC_AssertSwitch2OffSignal = 1U << 9U,
kPGMC_AssertIsoSignal = 1U << 10U
} |
| The enumeration of MIF signal behaviour(Such as Sleep Signal, Standby Signal, and so on). More...
|
|
enum | _pgmc_bpc_assign_domain {
kPGMC_CM7Core = 0U,
kPGMC_CM4Core = 1U
} |
| PGMC BPC assign domain enumeration. More...
|
|
enum | _pgmc_cpu_mode {
kPGMC_RunMode = 0x0UL,
kPGMC_WaitMode = 0x1UL,
kPGMC_StopMode = 0x2UL,
kPGMC_SuspendMode = 0x3UL
} |
| CPU mode. More...
|
|
enum | _pgmc_control_mode |
| PGMC control modes. More...
|
|
enum | _pgmc_memory_low_power_level {
kPGMC_MLPLHighSpeed = 1U,
kPGMC_MLPLNormal = 3U,
kPGMC_MLPLLowSpeed = 4U,
kPGMC_MLPLInputGating = 5U,
kPGMC_MLPLStandby = 6U,
kPGMC_MLPLSleep = 8U,
kPGMC_MLPLArrOnPerOff = 9U,
kPGMC_MLPLArrOffPerOn = 10U,
kPGMC_MLPLArrOffPerOff = 11U,
kPGMC_MLPLSw2 = 13U,
kPGMC_MLPLSw2PerOff = 14U,
kPGMC_MLPLSw1PerOff = 15U
} |
| The enumeration of memory low power level. More...
|
|
enum | _pgmc_mif_signal {
kPGMC_SleepSignal = 0U,
kPGMC_InputGateSignal = 1U,
kPGMC_LowSpeedSignal = 2U,
kPGMC_HighSpeedSignal = 3U,
kPGMC_StandbySignal = 4U,
kPGMC_ArrayPowerDownSignal = 5U,
kPGMC_PeripheralPowerDownSignal = 6U,
kPGMC_InitnSignal = 7U,
kPGMC_Switch1OffSignal = 8U,
kPGMC_Switch2OffSignal = 9U,
kPGMC_IsoSignal = 10U
} |
| The enumeration of MIF signal. More...
|
|
|
void | PGMC_BPC_ControlPowerDomainByCpuPowerMode (PGMC_BPC_Type *base, pgmc_cpu_mode_t mode, const pgmc_bpc_cpu_power_mode_option_t *option) |
| Makes the BPC module controlled by the target CPU power mode, such as Wait mode. More...
|
|
void | PGMC_BPC_ControlPowerDomainBySetPointMode (PGMC_BPC_Type *base, uint32_t setPointMap, const pgmc_bpc_setpoint_mode_option_t *option) |
| Makes the BPC module controlled by the target set points. More...
|
|
void | PGMC_BPC_ControlPowerDomainBySoftwareMode (PGMC_BPC_Type *base, bool powerOff) |
| Controls the selected power domain by software mode. More...
|
|
static void | PGMC_BPC_DisableLowPower (PGMC_BPC_Type *base) |
| Disables low power mode control. More...
|
|
static void | PGMC_BPC_RequestStateRestoreAtRunMode (PGMC_BPC_Type *base) |
| Requests power domain state restore at run mode. More...
|
|
static void | PGMC_BPC_RequestStateRestoreAtSetPoint (PGMC_BPC_Type *base, uint32_t setPointMap) |
| Requests power domain state restore when enters the selected set points. More...
|
|
static void | PGMC_BPC_AllowUserModeAccess (PGMC_BPC_Type *base, bool enable) |
| Allows user mode access or not for the BPC module. More...
|
|
static void | PGMC_BPC_AllowNonSecureModeAccess (PGMC_BPC_Type *base, bool enable) |
| Allows non-secure mode access or not for the BPC module. More...
|
|
static void | PGMC_BPC_LockAccessSetting (PGMC_BPC_Type *base) |
| Locks access related settings for the BPC module, including Secure access setting and user access setting. More...
|
|
static void | PGMC_BPC_SetDomainIdWhiteList (PGMC_BPC_Type *base, uint8_t domainId) |
| Sets the corrsponding domain ID that can access CPU mode control registers for the BPC module. More...
|
|
static void | PGMC_BPC_LockDomainIDWhiteList (PGMC_BPC_Type *base) |
| Locks the value of Domain ID white list for the BPC module. More...
|
|
static void | PGMC_BPC_LockLowPowerConfigurationFields (PGMC_BPC_Type *base) |
| Locks low power configuration fields for the BPC module. More...
|
|
|
void | PGMC_CPC_CORE_PowerOffByCpuPowerMode (PGMC_CPC_Type *base, pgmc_cpu_mode_t mode) |
| Powers off the CPC core module by the target CPU power mode, such as Wait mode. More...
|
|
static void | PGMC_CPC_CORE_PowerOffBySoftwareMode (PGMC_CPC_Type *base, bool powerOff) |
| Powers off/on the CPC core module by the software. More...
|
|
static void | PGMC_CPC_CORE_DisableLowPower (PGMC_CPC_Type *base) |
| Disables low power mode control, the CPU core will not be affected by any low power modes. More...
|
|
void | PGMC_CPC_CACHE_ControlByCpuPowerMode (PGMC_CPC_Type *base, pgmc_cpu_mode_t mode, pgmc_memory_low_power_level_t memoryLowPowerLevel) |
| Makes the CPC CACHE module controlled by the target CPU power mode, such as Wait mode. More...
|
|
void | PGMC_CPC_CACHE_ControlBySetPointMode (PGMC_CPC_Type *base, uint32_t setPointMap, pgmc_memory_low_power_level_t memoryLowPowerLevel) |
| Makes the CPC CACHE module controlled by the target set points. More...
|
|
static void | PGMC_CPC_CACHE_DisableLowPower (PGMC_CPC_Type *base) |
| Disables low power mode control, so the cache will not be affected by any low power modes. More...
|
|
void | PGMC_CPC_CACHE_TriggerMLPLSoftwareChange (PGMC_CPC_Type *base) |
| Requests CPC cache module's memory low power level change by software mode. More...
|
|
void | PGMC_CPC_LMEM_ControlByCpuPowerMode (PGMC_CPC_Type *base, pgmc_cpu_mode_t mode, pgmc_memory_low_power_level_t memoryLowPowerLevel) |
| Makes the CPC LMEM module controlled by the target CPU power mode, such as Wait mode. More...
|
|
void | PGMC_CPC_LMEM_ControlBySetPointMode (PGMC_CPC_Type *base, uint32_t setPointMap, pgmc_memory_low_power_level_t memoryLowPowerLevel) |
| Makes the CPC LMEM module controlled by the target set points. More...
|
|
static void | PGMC_CPC_LMEM_DisableLowPower (PGMC_CPC_Type *base) |
| Disables low power mode control, so that the CPC LMEM will not be affected by any low power modes. More...
|
|
void | PGMC_CPC_LMEM_TriggerMLPLSoftwareChange (PGMC_CPC_Type *base) |
| Requests CPC LMEM module's memory low power level change in software mode. More...
|
|
static void | PGMC_CPC_AllowUserModeAccess (PGMC_CPC_Type *base, bool enable) |
| Allows user mode access or not for the CPC module. More...
|
|
static void | PGMC_CPC_AllowNonSecureModeAccess (PGMC_CPC_Type *base, bool enable) |
| Allows non-secure mode access or not for the CPC module. More...
|
|
static void | PGMC_CPC_LockAccessSetting (PGMC_CPC_Type *base) |
| Locks access related settings, including secure access setting and user access setting, for the CPC module. More...
|
|
static void | PGMC_CPC_SetDomainIdWhiteList (PGMC_CPC_Type *base, uint8_t domainId) |
| Sets the corrsponding domain ID that can access CPU mode control registers for the CPC module. More...
|
|
static void | PGMC_CPC_LockDomainIDWhiteList (PGMC_CPC_Type *base) |
| Locks the value of Domain ID white list for CPC module. More...
|
|
static void | PGMC_CPC_LockLowPowerConfigurationFields (PGMC_CPC_Type *base) |
| Locks CPC realted low power configuration fields for CPC module. More...
|
|
|
static void | PGMC_PPC_TriggerPMICStandbySoftMode (PGMC_PPC_Type *base, bool enable) |
| Trigger PMIC standby ON/OFF. More...
|
|
void | PGMC_PPC_ControlByCpuPowerMode (PGMC_PPC_Type *base, pgmc_cpu_mode_t mode) |
| Makes the PMIC module controlled by the target CPU power mode, such as Wait mode. More...
|
|
void | PGMC_PPC_ControlBySetPointMode (PGMC_PPC_Type *base, uint32_t setPointMap, bool enableStandby) |
| Makes the PMIC module controlled by the target set points. More...
|
|
static void | PGMC_PPC_DisableLowPower (PGMC_PPC_Type *base) |
| Disables low power mode control. More...
|
|
static void | PGMC_PPC_AllowUserModeAccess (PGMC_PPC_Type *base, bool enable) |
| Allows user mode access or not for PMIC module. More...
|
|
static void | PGMC_PPC_AllowNonSecureModeAccess (PGMC_PPC_Type *base, bool enable) |
| Allows non-secure mode access or not for the PMIC module. More...
|
|
static void | PGMC_PPC_LockAccessSetting (PGMC_PPC_Type *base) |
| Locks access related settings, including secure access setting and user access setting, for the PMIC module. More...
|
|
static void | PGMC_PPC_SetDomainIdWhiteList (PGMC_PPC_Type *base, uint8_t domainId) |
| Sets the corrsponding domain ID that can access CPU mode control registers for the PMIC module. More...
|
|
static void | PGMC_PPC_LockDomainIDWhiteList (PGMC_PPC_Type *base) |
| Locks the value of Domain ID white list for the PMIC module. More...
|
|
static void | PGMC_PPC_LockLowPowerConfigurationFields (PGMC_PPC_Type *base) |
| Locks low power configuration fields for the PMIC module. More...
|
|