le_pm_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
69 #ifndef LE_PM_INTERFACE_H_INCLUDE_GUARD
70 #define LE_PM_INTERFACE_H_INCLUDE_GUARD
71 
72 
73 #include "legato.h"
74 
75 //--------------------------------------------------------------------------------------------------
79 //--------------------------------------------------------------------------------------------------
81 (
82  void
83 );
84 
85 //--------------------------------------------------------------------------------------------------
89 //--------------------------------------------------------------------------------------------------
91 (
92  void
93 );
94 
95 
96 //--------------------------------------------------------------------------------------------------
100 //--------------------------------------------------------------------------------------------------
101 #define LE_PM_TAG_LEN 31
102 
103 
104 //--------------------------------------------------------------------------------------------------
108 //--------------------------------------------------------------------------------------------------
109 #define LE_PM_TAG_LEN_BYTES 32
110 
111 
112 //--------------------------------------------------------------------------------------------------
116 //--------------------------------------------------------------------------------------------------
117 typedef struct le_pm_WakeupSource* le_pm_WakeupSourceRef_t;
118 
119 //--------------------------------------------------------------------------------------------------
128 //--------------------------------------------------------------------------------------------------
130 (
131  uint32_t createOpts,
134 
135  const char* wsTag
138 );
139 
140 //--------------------------------------------------------------------------------------------------
145 //--------------------------------------------------------------------------------------------------
146 void le_pm_StayAwake
147 (
151 );
152 
153 //--------------------------------------------------------------------------------------------------
158 //--------------------------------------------------------------------------------------------------
159 void le_pm_Relax
160 (
164 );
165 
166 
167 #endif // LE_PM_INTERFACE_H_INCLUDE_GUARD
168 
void le_pm_DisconnectService(void)
void le_pm_ConnectService(void)
void le_pm_StayAwake(le_pm_WakeupSourceRef_t wsRef)
void le_pm_Relax(le_pm_WakeupSourceRef_t wsRef)
struct le_pm_WakeupSource * le_pm_WakeupSourceRef_t
Definition: le_pm_interface.h:117
le_pm_WakeupSourceRef_t le_pm_NewWakeupSource(uint32_t createOpts, const char *wsTag)