From 808ccaf12ea35abd3cff3d7b388ca192054554d8 Mon Sep 17 00:00:00 2001 From: Bartek Szatkowski Date: Tue, 30 Jan 2018 16:36:56 -0600 Subject: [PATCH] Add definition of reset reason and watchdog doxy groups --- hal/reset_reason_api.h | 5 +++++ hal/watchdog_api.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/hal/reset_reason_api.h b/hal/reset_reason_api.h index d2df64a8e2..aa0333cb19 100644 --- a/hal/reset_reason_api.h +++ b/hal/reset_reason_api.h @@ -26,6 +26,11 @@ extern "C" { #endif +/** + * \defgroup hal_reset_reason Reset Reason HAL API + * @{ + */ + 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 */ diff --git a/hal/watchdog_api.h b/hal/watchdog_api.h index 24396da7b3..51c689eccf 100644 --- a/hal/watchdog_api.h +++ b/hal/watchdog_api.h @@ -24,6 +24,11 @@ #include #include +/** + * \defgroup hal_watchdog Watchdog HAL API + * @{ + */ + /** \file watchdog_api.h * * This module provides platform independent access to the system watchdog timer