eLooM for STM32 application
v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
sysdeflowpower.h
Go to the documentation of this file.
1
23
#ifndef INCLUDE_SERVICES_SYSDEFLOWPOWER_H_
24
#define INCLUDE_SERVICES_SYSDEFLOWPOWER_H_
25
26
#if (SYS_CFG_USE_DEFAULT_PM_HELPER==1)
27
28
#define SYS_PM_EVT_SRC_SW 0x1U
29
// Generic event parameters
30
#define SYS_PM_EVT_PARAM_ENTER_LP 0x1U
31
#define SYS_PM_EVT_PARAM_EXIT_LP 0x2U
32
33
// Inline functions definition
34
// ***************************
35
36
40
typedef
enum
{
44
E_POWER_MODE_STATE1 = 0,
45
51
E_POWER_MODE_SLEEP_1 = 1,
52
}EPowerMode;
53
57
typedef
struct
_SysPowerStatus {
61
EPowerMode m_eActivePowerMode;
62
}SysPowerStatus;
63
64
65
#endif
66
67
68
69
#endif
/* INCLUDE_SERVICES_SYSDEFLOWPOWER_H_ */
Inc
services
sysdeflowpower.h
Generated by
1.9.7