power_manager_state_t Struct Reference

Power manager internal state structure. More...

#include <platform/drivers/inc/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 204 of file power_manager.h.

Field Documentation

Pointer to power configure table.

Definition at line 206 of file power_manager.h.

uint8_t configsNumber

Number of power configurations

Definition at line 207 of file power_manager.h.

uint8_t currentConfig

Index of current configuration.

Definition at line 211 of file power_manager.h.

uint8_t errorCallbackIndex

Index of callback returns error.

Definition at line 210 of file power_manager.h.

power_manager_callback_user_config_t*(* staticCallbacks)[]

Pointer to callback table.

Definition at line 208 of file power_manager.h.

uint8_t staticCallbacksNumber

Max. number of callback configurations

Definition at line 209 of file power_manager.h.


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