mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-07 16:23:38 +03:00
Added comment on Reset reason
This commit is contained in:
parent
bc82547ddd
commit
e455315bbf
@ -23,13 +23,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum rst_reason {
|
enum rst_reason {
|
||||||
REASON_DEFAULT_RST = 0,
|
REASON_DEFAULT_RST = 0, /* normal startup by power on */
|
||||||
REASON_WDT_RST = 1,
|
REASON_WDT_RST = 1, /* hardware watch dog reset */
|
||||||
REASON_EXCEPTION_RST = 2,
|
REASON_EXCEPTION_RST = 2, /* exception reset, GPIO status won’t change */
|
||||||
REASON_SOFT_WDT_RST = 3,
|
REASON_SOFT_WDT_RST = 3, /* software watch dog reset, GPIO status won’t change */
|
||||||
REASON_SOFT_RESTART = 4,
|
REASON_SOFT_RESTART = 4, /* software restart ,system_restart , GPIO status won’t change */
|
||||||
REASON_DEEP_SLEEP_AWAKE = 5,
|
REASON_DEEP_SLEEP_AWAKE = 5, /* wake up from deep-sleep */
|
||||||
REASON_EXT_SYS_RST = 6
|
REASON_EXT_SYS_RST = 6 /* external system reset */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct rst_info{
|
struct rst_info{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user