![]() |
S32 SDK
|
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 Implements smc_power_mode_protection_config_t_Class. More... | |
struct | smc_power_mode_config_t |
Power mode control configuration used for calling the SMC_SYS_SetPowerMode API Implements smc_power_mode_config_t_Class. More... | |
struct | smc_version_info_t |
SMC module version number Implements smc_version_info_t_Class. More... | |
struct | rcm_version_info_t |
RCM module version number Implements rcm_version_info_t_Class. 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... | |
enum pmc_int_select_t |
Power management control interrupts Implements pmc_int_select_t_Class.
Enumerator | |
---|---|
PMC_INT_LOW_VOLT_DETECT |
Low Voltage Detect Interrupt |
PMC_INT_LOW_VOLT_WARN |
Low Voltage Warning Interrupt |
Definition at line 208 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:
Enumerator | |
---|---|
POWER_MANAGER_RUN |
Run mode. |
POWER_MANAGER_VLPR |
Very low power run mode. |
POWER_MANAGER_STOP |
Stop mode. |
POWER_MANAGER_VLPS |
Very low power stop mode. |
POWER_MANAGER_MAX |
Definition at line 60 of file power_manager_S32K1xx.h.
enum power_mode_stat_t |
Power Modes in PMSTAT Implements power_mode_stat_t_Class.
Definition at line 109 of file power_manager_S32K1xx.h.
Power Modes Protection Implements power_modes_protect_t_Class.
Enumerator | |
---|---|
ALLOW_HSRUN |
Allow High Speed Run mode |
ALLOW_VLP |
Allow Very-Low-Power Modes |
ALLOW_MAX |
Definition at line 124 of file power_manager_S32K1xx.h.
Reset pin filter select in Run and Wait modes Implements rcm_filter_run_wait_modes_t_Class.
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 241 of file power_manager_S32K1xx.h.
Reset delay time Implements rcm_reset_delay_time_t_Class.
Definition at line 254 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 218 of file power_manager_S32K1xx.h.
enum smc_run_mode_t |
Run mode definition Implements smc_run_mode_t_Class.
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 135 of file power_manager_S32K1xx.h.
enum smc_stop_mode_t |
Stop mode definition Implements smc_stop_mode_t_Class.
Enumerator | |
---|---|
SMC_STOP |
Normal STOP mode |
SMC_RESERVED_STOP1 |
Reserved |
SMC_VLPS |
Very-Low-Power STOP mode |
Definition at line 146 of file power_manager_S32K1xx.h.
enum smc_stop_option_t |
STOP option Implements smc_stop_option_t_Class.
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 157 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 162 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 175 of file power_manager_S32K1xx.c.