WL865E4-P  36.07.001
m2mb_system_reset.h
Go to the documentation of this file.
1 /*===============================================================================================*/
2 /* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
23 #ifndef M2M_M2MB_SYSTEM_RESET_H
24 #define M2M_M2MB_SYSTEM_RESET_H
25 
36 /*-----------------------------------------------------------------------------------------------*/
37 
42 /*-----------------------------------------------------------------------------------------------*/
43 
44 /* Global declarations ==========================================================================*/
45 
46 /* Global typedefs ==============================================================================*/
47 
56 typedef enum
57 {
66  M2MB_SYSTEM_BOOT_REASON_SIZE_ENUM = 0x7FFFFFFF /* Size enum to 32 bits. */
68 
78 {
80  UINT32 reg[16];
82 
83 /* Global functions =============================================================================*/
84 
85 /*-----------------------------------------------------------------------------------------------*/
109 /*-----------------------------------------------------------------------------------------------*/
111 
112 /*-----------------------------------------------------------------------------------------------*/
138 /*-----------------------------------------------------------------------------------------------*/
140 
141 /*-----------------------------------------------------------------------------------------------*/
173 /*-----------------------------------------------------------------------------------------------*/
175 
176 /*-----------------------------------------------------------------------------------------------*/
203 /*-----------------------------------------------------------------------------------------------*/
205 
206 /*-----------------------------------------------------------------------------------------------*/
231 /*-----------------------------------------------------------------------------------------------*/
233 
234 /*-----------------------------------------------------------------------------------------------*/
263 /*-----------------------------------------------------------------------------------------------*/
265 
266 /*-----------------------------------------------------------------------------------------------*/
292 /*-----------------------------------------------------------------------------------------------*/
294 
298 /*-----------------------------------------------------------------------------------------------*/
299 
300 #endif /* M2M_M2MB_SYSTEM_RESET_H */
struct M2MB_SYSTEM_EXCEPTION_INFO M2MB_SYSTEM_EXCEPTION_INFO_T
Structure defining details of exception information.
VOID m2mb_wdog_enable(VOID)
To enable watchdog.
INT32 M2MB_STATUS_T
Definition: m2mb_status.h:95
M2MB_SYSTEM_RESET_RESON_T reason
Structure defining details of exception information.
unsigned long int UINT32
Definition: m2mb_types.h:85
VOID m2mb_system_reset(VOID)
System Reset API.
void VOID
Definition: m2mb_types.h:72
UINT32 m2mb_wdog_is_enable(VOID)
To find whether the watchdog is enabled or not.
M2MB_STATUS_T m2mb_get_boot_reason(M2MB_SYSTEM_RESET_RESON_T *reason)
Boot reason.
M2MB_SYSTEM_RESET_RESON_T
Enum defining different boot reason.
VOID m2mb_wdog_disable(VOID)
To disable watchdog.
VOID m2mb_wdog_kick(VOID)
To reset the watchdog.
M2MB_STATUS_T m2mb_get_exception_info(M2MB_SYSTEM_EXCEPTION_INFO_T *excptionInfo)
To get the details on exception.