mirror of https://github.com/ARMmbed/mbed-os.git
Document reset reason enum
parent
239c8a3cad
commit
f3c6c569d1
|
|
@ -31,6 +31,8 @@ extern "C" {
|
|||
* @{
|
||||
*/
|
||||
|
||||
/** Definitions of different reset reasons
|
||||
*/
|
||||
typedef enum {
|
||||
RESET_REASON_POWER_ON, /**< Set when power is initially applied to the board. The power-on-reset circuit causes a POWER_ON reset when this occurs */
|
||||
RESET_REASON_PIN_RESET, /**< Set when a reset is triggered by the hardware pin on the board */
|
||||
|
|
|
|||
Loading…
Reference in New Issue