Document reset reason enum

pull/10657/head
Bartek Szatkowski 2018-03-15 10:56:47 +00:00 committed by Filip Jagodzinski
parent 239c8a3cad
commit f3c6c569d1
1 changed files with 2 additions and 0 deletions

View File

@ -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 */