From baa2f1359231f94fa0ea3c4585d773c644f0df16 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 17 Oct 2019 11:41:02 +0000 Subject: [PATCH] swm050: doc: tweak peripheral apis groupings Makes it more consistent with the other families. --- lib/swm050/clk.c | 3 ++- lib/swm050/flash.c | 3 ++- lib/swm050/gpio.c | 3 ++- lib/swm050/pwr.c | 3 ++- lib/swm050/syscon.c | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/swm050/clk.c b/lib/swm050/clk.c index a0ea1504..e78017ea 100644 --- a/lib/swm050/clk.c +++ b/lib/swm050/clk.c @@ -1,5 +1,6 @@ -/** @addtogroup clk_file Clock peripheral API +/** @defgroup clk_file Clock peripheral API * @ingroup peripheral_apis + * @brief SWM050 Clock API. * LGPL License Terms @ref lgpl_license * @author @htmlonly © @endhtmlonly 2019 * Caleb Szalacinski diff --git a/lib/swm050/flash.c b/lib/swm050/flash.c index 79ff3f49..a22dc7d0 100644 --- a/lib/swm050/flash.c +++ b/lib/swm050/flash.c @@ -1,5 +1,6 @@ -/** @addtogroup flash_file Flash peripheral API +/** @defgroup flash_file Flash peripheral API * @ingroup peripheral_apis + * @brief SWM050 Flash API. * LGPL License Terms @ref lgpl_license * @author @htmlonly © @endhtmlonly 2019 * Caleb Szalacinski diff --git a/lib/swm050/gpio.c b/lib/swm050/gpio.c index 2b78182f..83f0894b 100644 --- a/lib/swm050/gpio.c +++ b/lib/swm050/gpio.c @@ -1,4 +1,5 @@ -/** @addtogroup gpio_file GPIO peripheral API +/** @defgroup gpio_file GPIO peripheral API + * @brief SWM050 GPIO API. * @ingroup peripheral_apis * LGPL License Terms @ref lgpl_license * @author @htmlonly © @endhtmlonly 2019 diff --git a/lib/swm050/pwr.c b/lib/swm050/pwr.c index 904dbb2b..0be19053 100644 --- a/lib/swm050/pwr.c +++ b/lib/swm050/pwr.c @@ -1,4 +1,5 @@ -/** @addtogroup pwr_file Power/Sleep API +/** @defgroup pwr_file Power/Sleep API + * @brief SWM050 Power API. * @ingroup peripheral_apis * LGPL License Terms @ref lgpl_license * @author @htmlonly © @endhtmlonly 2019 diff --git a/lib/swm050/syscon.c b/lib/swm050/syscon.c index 396f2ede..829c7f83 100644 --- a/lib/swm050/syscon.c +++ b/lib/swm050/syscon.c @@ -1,5 +1,6 @@ -/** @addtogroup syscon_file SYSCON peripheral API +/** @defgroup syscon_file SYSCON peripheral API * @ingroup peripheral_apis + * @brief SWM050 SYSCON API. * LGPL License Terms @ref lgpl_license * @author @htmlonly © @endhtmlonly 2019 * Icenowy Zheng