FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kRestartReason Struct Reference

Description

Represents the reason that a device was rebooted.

This enum is used in conjunction with watchdog timers to represent the reason that a device is rebooted.

Related

#define kRESTART_REASON_NONE   (0)
 Device not rebooted by watchdog.
 
#define kRESTART_REASON_UNRESPONSIVE   (1)
 Software became unresponsive; reset by hardware watchdog.
 
#define kRESTART_REASON_MEMORY_EXHAUSTED   (2)
 Software detected memory exhausted.
 
#define kRESTART_REASON_DEADLOCK   (3)
 Software detected thread deadlock in part of the program.
 
#define kRESTART_REASON_APP_CODE_0   (8)
 Application-specific failure code 0.
 
#define kRESTART_REASON_APP_CODE_1   (9)
 Application-specific failure code 1.
 
#define kRESTART_REASON_APP_CODE_2   (10)
 Application-specific failure code 2.
 
#define kRESTART_REASON_APP_CODE_3   (11)
 Application-specific failure code 3.
 

The documentation for this struct was generated from the following file: