Data Structures | |
struct | power_manager_user_config_t |
Power mode user configuration structure. More... | |
struct | smc_power_mode_protection_config_t |
Power mode protection configuration. More... | |
struct | smc_power_mode_config_t |
Power mode control configuration used for calling the SMC_SYS_SetPowerMode API. More... | |
struct | smc_version_info_t |
SMC module version number. More... | |
struct | rcm_version_info_t |
RCM module version number. More... | |
Functions | |
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... | |
bool | POWER_SYS_GetResetSrcStatusCmd (const RCM_Type *const baseAddr, const rcm_source_names_t srcName) |
Gets the reset source status. More... | |
enum pmc_int_select_t |
Power management control interrupts.
Enumerator | |
---|---|
PMC_INT_LOW_VOLT_DETECT |
Low Voltage Detect Interrupt |
PMC_INT_LOW_VOLT_WARN |
Low Voltage Warning Interrupt |
Definition at line 206 of file power_manager_S32K1xx.h.
Power modes enumeration.
Defines power modes. Used in the power mode configuration structure (power_manager_user_config_t). From ARM core perspective, Power modes can be generally divided into run modes (High speed run, Run and Very low power run), sleep (Wait and Very low power wait) and deep sleep modes (all Stop modes). List of power modes supported by specific chip along with requirements for entering and exiting of these modes can be found in chip documentation. List of all supported power modes:
Definition at line 61 of file power_manager_S32K1xx.h.
enum power_mode_stat_t |
Power Modes in PMSTAT.
Definition at line 108 of file power_manager_S32K1xx.h.
Power Modes Protection.
Enumerator | |
---|---|
ALLOW_HSRUN |
Allow High Speed Run mode |
ALLOW_VLP |
Allow Very-Low-Power Modes |
ALLOW_MAX |
Definition at line 123 of file power_manager_S32K1xx.h.
Reset pin filter select in Run and Wait modes.
Enumerator | |
---|---|
RCM_FILTER_DISABLED |
All filtering disabled |
RCM_FILTER_BUS_CLK |
Bus clock filter enabled |
RCM_FILTER_LPO_CLK |
LPO clock filter enabled |
RCM_FILTER_RESERVED |
Reserved setting |
Definition at line 239 of file power_manager_S32K1xx.h.
Reset delay time.
Definition at line 252 of file power_manager_S32K1xx.h.
enum rcm_source_names_t |
System Reset Source Name definitions Implements rcm_source_names_t_Class.
Definition at line 216 of file power_manager_S32K1xx.h.
enum smc_run_mode_t |
Run mode definition.
Enumerator | |
---|---|
SMC_RUN |
normal RUN mode |
SMC_RESERVED_RUN | |
SMC_VLPR |
Very-Low-Power RUN mode |
SMC_HSRUN |
High Speed Run mode (HSRUN) |
Definition at line 134 of file power_manager_S32K1xx.h.
enum smc_stop_mode_t |
Stop mode definition.
Enumerator | |
---|---|
SMC_STOP |
Normal STOP mode |
SMC_RESERVED_STOP1 |
Reserved |
SMC_VLPS |
Very-Low-Power STOP mode |
Definition at line 145 of file power_manager_S32K1xx.h.
enum smc_stop_option_t |
STOP option.
Enumerator | |
---|---|
SMC_STOP_RESERVED |
Reserved stop mode |
SMC_STOP1 |
Stop with both system and bus clocks disabled |
SMC_STOP2 |
Stop with system clock disabled and bus clock enabled |
Definition at line 156 of file power_manager_S32K1xx.h.
status_t POWER_SYS_DoDeinit | ( | void | ) |
This function implementation-specific de-initialization of power manager.
This function performs the actual implementation-specific de-initialization.
Definition at line 178 of file power_manager_S32K1xx.c.
status_t POWER_SYS_DoInit | ( | void | ) |
This function implementation-specific configuration of power modes.
This function performs the actual implementation-specific initialization based on the provided power mode configurations.
Definition at line 141 of file power_manager_S32K1xx.c.
status_t POWER_SYS_DoSetMode | ( | const power_manager_user_config_t *const | configPtr | ) |
This function configures the power mode.
This function performs the actual implementation-specific logic to switch to one of the defined power modes.
configPtr | Pointer to user configuration structure |
Definition at line 191 of file power_manager_S32K1xx.c.
bool POWER_SYS_GetResetSrcStatusCmd | ( | const RCM_Type *const | baseAddr, |
const rcm_source_names_t | srcName | ||
) |
Gets the reset source status.
This function gets the current reset source status for a specified source.
[in] | baseAddr | Register base address of RCM |
[in] | srcName | reset source name |
Definition at line 639 of file power_manager_S32K1xx.c.