eLooM for STM32 application  v3.3.0
Loading...
Searching...
No Matches
IAppPowerModeHelper.h
Go to the documentation of this file.
1
23#ifndef INCLUDE_SERVICES_IAPPPOWERMODEHELPER_H_
24#define INCLUDE_SERVICES_IAPPPOWERMODEHELPER_H_
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
32
33
38
39
40// Public API declaration
41//***********************
42
50
58static inline EPowerMode IapmhComputeNewPowerMode(IAppPowerModeHelper *_this, const SysEvent xEvent);
59
68static inline boolean_t IapmhCheckPowerModeTransaction(IAppPowerModeHelper *_this, const EPowerMode eActivePowerMode, const EPowerMode eNewPowerMode);
69
76static inline sys_error_code_t IapmhDidEnterPowerMode(IAppPowerModeHelper *_this, EPowerMode ePowerMode);
77
84static inline EPowerMode IapmhGetActivePowerMode(IAppPowerModeHelper *_this);
85
92static inline SysPowerStatus IapmhGetPowerStatus(IAppPowerModeHelper *_this);
93
101static inline boolean_t IapmhIsLowPowerMode(IAppPowerModeHelper *_this, const EPowerMode ePowerMode);
102
103
104// Inline functions definition
105// ***************************
106
107
108#ifdef __cplusplus
109}
110#endif
111
112#endif /* INCLUDE_SERVICES_IAPPPOWERMODEHELPER_H_ */
static EPowerMode IapmhGetActivePowerMode(IAppPowerModeHelper *_this)
Definition IAppPowerModeHelper_vtbl.h:88
static boolean_t IapmhCheckPowerModeTransaction(IAppPowerModeHelper *_this, const EPowerMode eActivePowerMode, const EPowerMode eNewPowerMode)
Definition IAppPowerModeHelper_vtbl.h:78
static EPowerMode IapmhComputeNewPowerMode(IAppPowerModeHelper *_this, const SysEvent xEvent)
Definition IAppPowerModeHelper_vtbl.h:73
static sys_error_code_t IapmhInit(IAppPowerModeHelper *_this)
Definition IAppPowerModeHelper_vtbl.h:68
static boolean_t IapmhIsLowPowerMode(IAppPowerModeHelper *_this, const EPowerMode ePowerMode)
Definition IAppPowerModeHelper_vtbl.h:98
static SysPowerStatus IapmhGetPowerStatus(IAppPowerModeHelper *_this)
Definition IAppPowerModeHelper_vtbl.h:93
static sys_error_code_t IapmhDidEnterPowerMode(IAppPowerModeHelper *_this, EPowerMode ePowerMode)
Definition IAppPowerModeHelper_vtbl.h:83
Umbrella header for the basic system features.
Definition IAppPowerModeHelper_vtbl.h:56
uint16_t sys_error_code_t
Definition syserror.h:41
This file declares the public API related to the power management.
Definition sysevent.h:41