23 #ifndef M2M_M2MB_SYSTEM_RESET_H 24 #define M2M_M2MB_SYSTEM_RESET_H 51 #define M2MB_ERR_LOG_MAX_FILE_NAME_LEN 50 52 #define M2MB_ERR_LOG_MAX_THREAD_NAME_LEN 20 M2MB_SYSTEM_RESET_RESON_T reason
VOID m2mb_wdog_enable(VOID)
To enable watchdog.
#define M2MB_ERR_LOG_MAX_FILE_NAME_LEN
M2MB_SYSTEM_RESET_RESON_T
Enum defining different boot reason.
UINT8 thread_name[M2MB_ERR_LOG_MAX_THREAD_NAME_LEN]
UINT32 m2mb_wdog_is_enable(VOID)
To find whether the watchdog is enabled or not.
VOID m2mb_system_reset(VOID)
System Reset API.
#define M2MB_ERR_LOG_MAX_THREAD_NAME_LEN
UINT8 file_name[M2MB_ERR_LOG_MAX_FILE_NAME_LEN]
Structure defining details of exception information.
VOID m2mb_wdog_kick(VOID)
To reset the watchdog.
M2MB_STATUS_T m2mb_get_boot_reason(M2MB_SYSTEM_RESET_RESON_T *reason)
Boot reason.
M2MB_STATUS_T m2mb_get_exception_info(M2MB_SYSTEM_EXCEPTION_INFO_T *excptionInfo)
To get the details on exception.
VOID m2mb_wdog_disable(VOID)
To disable watchdog.
struct M2MB_SYSTEM_EXCEPTION_INFO M2MB_SYSTEM_EXCEPTION_INFO_T
Structure defining details of exception information.