Add definition of reset reason and watchdog doxy groups

pull/10657/head
Bartek Szatkowski 2018-01-30 16:36:56 -06:00 committed by Filip Jagodzinski
parent 2fb9fc2a8e
commit 808ccaf12e
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,11 @@
extern "C" { extern "C" {
#endif #endif
/**
* \defgroup hal_reset_reason Reset Reason HAL API
* @{
*/
typedef enum { 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_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 */ RESET_REASON_PIN_RESET, /**< Set when a reset is triggered by the hardware pin on the board */

View File

@ -24,6 +24,11 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
/**
* \defgroup hal_watchdog Watchdog HAL API
* @{
*/
/** \file watchdog_api.h /** \file watchdog_api.h
* *
* This module provides platform independent access to the system watchdog timer * This module provides platform independent access to the system watchdog timer