17#ifndef MBED_RESET_REASON_H
18#define MBED_RESET_REASON_H
20#ifdef DEVICE_RESET_REASON
22#include "reset_reason_api.h"
A platform-independent method of checking the cause of the last system reset.
static reset_reason_t get()
Get the platform independent reason code for the last system reset.
static uint32_t get_raw()
Get the platform specific reason code for the last system reset.
reset_reason_t
Definitions of different reset reasons.