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 //--------------------------------------------------------------------------------------------------
86 //--------------------------------------------------------------------------------------------------
88 (
89  void
90 );
91 
92 //--------------------------------------------------------------------------------------------------
103 //--------------------------------------------------------------------------------------------------
105 (
106  void
107 );
108 
109 
110 //--------------------------------------------------------------------------------------------------
114 //--------------------------------------------------------------------------------------------------
115 #define LE_PM_TAG_LEN 31
116 
117 
118 //--------------------------------------------------------------------------------------------------
122 //--------------------------------------------------------------------------------------------------
123 #define LE_PM_TAG_LEN_BYTES 32
124 
125 
126 //--------------------------------------------------------------------------------------------------
130 //--------------------------------------------------------------------------------------------------
131 typedef struct le_pm_WakeupSource* le_pm_WakeupSourceRef_t;
132 
133 //--------------------------------------------------------------------------------------------------
142 //--------------------------------------------------------------------------------------------------
144 (
145  uint32_t createOpts,
148 
149  const char* wsTag
152 );
153 
154 //--------------------------------------------------------------------------------------------------
159 //--------------------------------------------------------------------------------------------------
160 void le_pm_StayAwake
161 (
165 );
166 
167 //--------------------------------------------------------------------------------------------------
172 //--------------------------------------------------------------------------------------------------
173 void le_pm_Relax
174 (
178 );
179 
180 
181 #endif // LE_PM_INTERFACE_H_INCLUDE_GUARD
182 
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:131
le_pm_WakeupSourceRef_t le_pm_NewWakeupSource(uint32_t createOpts, const char *wsTag)