Syntax
enum
{
OT_PLAT_RESET_REASON_POWER_ON = 0,
OT_PLAT_RESET_REASON_EXTERNAL = 1,
OT_PLAT_RESET_REASON_SOFTWARE = 2,
OT_PLAT_RESET_REASON_FAULT = 3,
OT_PLAT_RESET_REASON_CRASH = 4,
OT_PLAT_RESET_REASON_ASSERT = 5,
OT_PLAT_RESET_REASON_OTHER = 6,
OT_PLAT_RESET_REASON_UNKNOWN = 7,
OT_PLAT_RESET_REASON_WATCHDOG = 8,
OT_PLAT_RESET_REASON_COUNT,
};