S32 SDK
power_manager_state_t Struct Reference

Power manager internal state structure. More...

#include <power_manager.h>

Data Fields

power_manager_user_config_t *(* configs )[]
 
uint8_t configsNumber
 
power_manager_callback_user_config_t *(* staticCallbacks )[]
 
uint8_t staticCallbacksNumber
 
uint8_t errorCallbackIndex
 
uint8_t currentConfig
 

Detailed Description

Power manager internal state structure.

Power manager internal structure. Contains data necessary for Power manager proper functionality. Stores references to registered power mode configurations, callbacks, and other internal data. This structure is statically allocated and initialized by POWER_SYS_Init(). Implements power_manager_state_t_Class

Definition at line 228 of file power_manager.h.

Field Documentation

Pointer to power configure table.

Definition at line 230 of file power_manager.h.

uint8_t configsNumber

Number of power configurations

Definition at line 231 of file power_manager.h.

uint8_t currentConfig

Index of current configuration.

Definition at line 235 of file power_manager.h.

uint8_t errorCallbackIndex

Index of callback returns error.

Definition at line 234 of file power_manager.h.

power_manager_callback_user_config_t*(* staticCallbacks)[]

Pointer to callback table.

Definition at line 232 of file power_manager.h.

uint8_t staticCallbacksNumber

Max. number of callback configurations

Definition at line 233 of file power_manager.h.


The documentation for this struct was generated from the following file: