#include <stddef.h>
#include "power_manager.h"
#include "power_smc_hw_access.h"
#include "power_rcm_hw_access.h"
#include "clock_manager.h"
Go to the source code of this file.
Macros | |
#define | POWER_SET_MODE_TIMEOUT 1000U |
Functions | |
static status_t | POWER_SYS_WaitForModeStatus (smc_run_mode_t mode) |
static status_t | POWER_SYS_SwitchToSleepingPowerMode (const power_manager_user_config_t *const configPtr) |
static status_t | POWER_SYS_SwitchToRunningPowerMode (const power_manager_user_config_t *const configPtr) |
static status_t | POWER_DRV_SwitchVlprClk (const sys_clk_config_t *const sysClock) |
static status_t | POWER_DRV_UpdateInitClk (const sys_clk_config_t *const sysClk, bool allowUpdate) |
status_t | POWER_SYS_DoInit (void) |
This function implementation-specific configuration of power modes. More... | |
status_t | POWER_SYS_DoDeinit (void) |
This function implementation-specific de-initialization of power manager. More... | |
status_t | POWER_SYS_DoSetMode (const power_manager_user_config_t *const configPtr) |
This function configures the power mode. More... | |
power_manager_modes_t | POWER_SYS_GetCurrentMode (void) |
This function returns currently running power mode. More... | |
bool | POWER_SYS_GetResetSrcStatusCmd (const RCM_Type *const baseAddr, const rcm_source_names_t srcName) |
Gets the reset source status. More... | |
Variables | |
power_manager_state_t | gPowerManagerState |
Power manager internal structure. More... | |
#define POWER_SET_MODE_TIMEOUT 1000U |
Timeout used for waiting to set new mode
Definition at line 52 of file power_manager_S32K1xx.c.
|
static |
Definition at line 562 of file power_manager_S32K1xx.c.
|
static |
Definition at line 603 of file power_manager_S32K1xx.c.
|
static |
Definition at line 311 of file power_manager_S32K1xx.c.
|
static |
Definition at line 421 of file power_manager_S32K1xx.c.
|
static |
Definition at line 254 of file power_manager_S32K1xx.c.
power_manager_state_t gPowerManagerState |
Power manager internal structure.
Definition at line 51 of file power_manager.c.