All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
le_temp_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 
105 #ifndef LE_TEMP_H_INCLUDE_GUARD
106 #define LE_TEMP_H_INCLUDE_GUARD
107 
108 
109 #include "legato.h"
110 
111 //--------------------------------------------------------------------------------------------------
115 //--------------------------------------------------------------------------------------------------
117 (
118  void
119 );
120 
121 //--------------------------------------------------------------------------------------------------
125 //--------------------------------------------------------------------------------------------------
127 (
128  void
129 );
130 
131 
132 //--------------------------------------------------------------------------------------------------
136 //--------------------------------------------------------------------------------------------------
137 typedef enum
138 {
141 
144 
147 
150 
153 
156 
159 
162 }
164 
165 
166 //--------------------------------------------------------------------------------------------------
170 //--------------------------------------------------------------------------------------------------
171 typedef struct le_temp_ThresholdEventHandler* le_temp_ThresholdEventHandlerRef_t;
172 
173 
174 //--------------------------------------------------------------------------------------------------
182 //--------------------------------------------------------------------------------------------------
184 (
186  void* contextPtr
187 );
188 
189 //--------------------------------------------------------------------------------------------------
195 //--------------------------------------------------------------------------------------------------
197 (
200 
201  void* contextPtr
203 );
204 
205 //--------------------------------------------------------------------------------------------------
209 //--------------------------------------------------------------------------------------------------
211 (
214 );
215 
216 //--------------------------------------------------------------------------------------------------
224 //--------------------------------------------------------------------------------------------------
226 (
227  int32_t* platformTempPtr
230 );
231 
232 //--------------------------------------------------------------------------------------------------
240 //--------------------------------------------------------------------------------------------------
242 (
243  int32_t* radioTempPtr
246 );
247 
248 //--------------------------------------------------------------------------------------------------
263 //--------------------------------------------------------------------------------------------------
265 (
266  int32_t lowCriticalTemp,
269 
270  int32_t lowWarningTemp,
273 
274  int32_t hiWarningTemp,
277 
278  int32_t hiCriticalTemp
281 );
282 
283 //--------------------------------------------------------------------------------------------------
291 //--------------------------------------------------------------------------------------------------
293 (
294  int32_t* lowCriticalTempPtr,
297 
298  int32_t* lowWarningTempPtr,
301 
302  int32_t* hiWarningTempPtr,
305 
306  int32_t* hiCriticalTempPtr
310 );
311 
312 //--------------------------------------------------------------------------------------------------
323 //--------------------------------------------------------------------------------------------------
325 (
326  int32_t hiWarningTemp,
329 
330  int32_t hiCriticalTemp
333 );
334 
335 //--------------------------------------------------------------------------------------------------
343 //--------------------------------------------------------------------------------------------------
345 (
346  int32_t* hiWarningTempPtr,
349 
350  int32_t* hiCriticalTempPtr
354 );
355 
356 
357 #endif // LE_TEMP_H_INCLUDE_GUARD
358 
void le_temp_DisconnectService(void)
void le_temp_ConnectService(void)
Normal Radio temperature threshold is reached.
Definition: le_temp_interface.h:154
le_result_t le_temp_GetPlatformThresholds(int32_t *lowCriticalTempPtr, int32_t *lowWarningTempPtr, int32_t *hiWarningTempPtr, int32_t *hiCriticalTempPtr)
le_result_t
Definition: le_basics.h:35
le_temp_ThresholdEventHandlerRef_t le_temp_AddThresholdEventHandler(le_temp_ThresholdEventHandlerFunc_t handlerPtr, void *contextPtr)
Low Platform Critical temperature threshold is reached.
Definition: le_temp_interface.h:160
High Radio Critical temperature threshold is reached.
Definition: le_temp_interface.h:142
le_result_t le_temp_SetRadioThresholds(int32_t hiWarningTemp, int32_t hiCriticalTemp)
High Platform Critical temperature threshold is reached.
Definition: le_temp_interface.h:139
le_result_t le_temp_GetRadioTemperature(int32_t *radioTempPtr)
le_result_t le_temp_GetRadioThresholds(int32_t *hiWarningTempPtr, int32_t *hiCriticalTempPtr)
High Radio Warning temperature threshold is reached.
Definition: le_temp_interface.h:148
le_temp_ThresholdStatus_t
Definition: le_temp_interface.h:137
void(* le_temp_ThresholdEventHandlerFunc_t)(le_temp_ThresholdStatus_t event, void *contextPtr)
Definition: le_temp_interface.h:184
le_result_t le_temp_GetPlatformTemperature(int32_t *platformTempPtr)
Normal Platform temperature threshold is reached.
Definition: le_temp_interface.h:151
High Platform Warning temperature threshold is reached.
Definition: le_temp_interface.h:145
void le_temp_RemoveThresholdEventHandler(le_temp_ThresholdEventHandlerRef_t addHandlerRef)
le_result_t le_temp_SetPlatformThresholds(int32_t lowCriticalTemp, int32_t lowWarningTemp, int32_t hiWarningTemp, int32_t hiCriticalTemp)
struct le_temp_ThresholdEventHandler * le_temp_ThresholdEventHandlerRef_t
Definition: le_temp_interface.h:171
Low Platform Warning temperature threshold is reached.
Definition: le_temp_interface.h:157