Syntax
enum
{
RESET_REASON_CHIP_POWER_ON = 0x01,
RESET_REASON_CORE_SW = 0x03,
RESET_REASON_CORE_DEEP_SLEEP = 0x05,
RESET_REASON_CORE_SDIO = 0x06,
RESET_REASON_CORE_MWDT0 = 0x07,
RESET_REASON_CORE_MWDT1 = 0x08,
RESET_REASON_CORE_RTC_WDT = 0x09,
RESET_REASON_CPU0_MWDT0 = 0x0B,
RESET_REASON_CPU1_MWDT1 = 0x0B,
RESET_REASON_CPU0_SW = 0x0C,
RESET_REASON_CPU1_SW = 0x0C,
RESET_REASON_CPU0_RTC_WDT = 0x0D,
RESET_REASON_CPU1_RTC_WDT = 0x0D,
RESET_REASON_CPU1_CPU0 = 0x0E,
RESET_REASON_SYS_BROWN_OUT = 0x0F,
RESET_REASON_SYS_RTC_WDT = 0x10,
};