S32 SDK
power_manager_smc.c File Reference
#include "power_manager.h"
#include "smc_hal.h"

Go to the source code of this file.

Macros

#define POWER_SET_MODE_TIMEOUT   1000U
 

Functions

status_t POWER_SYS_DoInit (void)
 
status_t POWER_SYS_DoDeinit (void)
 
status_t POWER_SYS_DoSetMode (const power_manager_user_config_t *const configPtr)
 
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)
 
power_manager_modes_t POWER_SYS_GetCurrentMode (void)
 This function returns currently running power mode. More...
 

Variables

power_manager_state_t gPowerManagerState
 Power manager internal structure. More...