diff options
author | Karl Palsson <karlp@etactica.com> | 2019-06-25 12:35:45 +0300 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2019-06-26 00:15:19 +0300 |
commit | 790d62423084a013f3f91ca483f5a9e92abafb50 (patch) | |
tree | 6d66f9e8d41402a08d1577190ad4cc3e5ef60f74 /include/libopencm3 | |
parent | aa99aba7d39060d480de74edd92be2de75d5ea3c (diff) |
doc: efm32: burtc: tag properly for doxyen
includes a stub .c file until there are APIs defined.
Diffstat (limited to 'include/libopencm3')
-rw-r--r-- | include/libopencm3/efm32/common/burtc_common.h | 9 | ||||
-rw-r--r-- | include/libopencm3/efm32/ezr32wg/burtc.h | 13 | ||||
-rw-r--r-- | include/libopencm3/efm32/lg/burtc.h | 13 | ||||
-rw-r--r-- | include/libopencm3/efm32/wg/burtc.h | 13 |
4 files changed, 33 insertions, 15 deletions
diff --git a/include/libopencm3/efm32/common/burtc_common.h b/include/libopencm3/efm32/common/burtc_common.h index 73f78e1c..e2202a15 100644 --- a/include/libopencm3/efm32/common/burtc_common.h +++ b/include/libopencm3/efm32/common/burtc_common.h @@ -1,3 +1,5 @@ +/** @addtogroup burtc_defines + */ /* * This file is part of the libopencm3 project. * @@ -17,12 +19,13 @@ * along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef LIBOPENCM3_EFM32_BURTC_H -#define LIBOPENCM3_EFM32_BURTC_H +#pragma once #include <libopencm3/efm32/memorymap.h> #include <libopencm3/cm3/common.h> +/**@{*/ + #define BURTC_CTRL MMIO32(BURTC_BASE + 0x000) #define BURTC_LPMODE MMIO32(BURTC_BASE + 0x004) #define BURTC_CNT MMIO32(BURTC_BASE + 0x008) @@ -166,5 +169,5 @@ #define BURTC_SYNCBUSY_COMP0 (1 << 1) #define BURTC_SYNCBUSY_LPMODE (1 << 0) -#endif +/**@}*/ diff --git a/include/libopencm3/efm32/ezr32wg/burtc.h b/include/libopencm3/efm32/ezr32wg/burtc.h index b96789d2..3f5c55a5 100644 --- a/include/libopencm3/efm32/ezr32wg/burtc.h +++ b/include/libopencm3/efm32/ezr32wg/burtc.h @@ -1,3 +1,11 @@ +/** @defgroup burtc_defines BURTC Defines + * + * @brief <b>Defined Constants and Types for the Backup RTC</b> + * + * @ingroup EZR32WG_defines + * + * LGPL License Terms @ref lgpl_license + */ /* * This file is part of the libopencm3 project. * @@ -17,9 +25,6 @@ * along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef LIBOPENCM3_EFM32_EZR32WG_BURTC_H -#define LIBOPENCM3_EFM32_EZR32WG_BURTC_H +#pragma once #include <libopencm3/efm32/common/burtc_common.h> - -#endif diff --git a/include/libopencm3/efm32/lg/burtc.h b/include/libopencm3/efm32/lg/burtc.h index 132c3d02..fa580335 100644 --- a/include/libopencm3/efm32/lg/burtc.h +++ b/include/libopencm3/efm32/lg/burtc.h @@ -1,3 +1,11 @@ +/** @defgroup burtc_defines BURTC Defines + * + * @brief <b>Defined Constants and Types for the Backup RTC</b> + * + * @ingroup EFM32LG_defines + * + * LGPL License Terms @ref lgpl_license + */ /* * This file is part of the libopencm3 project. * @@ -17,9 +25,6 @@ * along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef LIBOPENCM3_EFM32_LG_BURTC_H -#define LIBOPENCM3_EFM32_LG_BURTC_H +#pragma once #include <libopencm3/efm32/common/burtc_common.h> - -#endif diff --git a/include/libopencm3/efm32/wg/burtc.h b/include/libopencm3/efm32/wg/burtc.h index 9246ea03..28e605ad 100644 --- a/include/libopencm3/efm32/wg/burtc.h +++ b/include/libopencm3/efm32/wg/burtc.h @@ -1,3 +1,11 @@ +/** @defgroup burtc_defines BURTC Defines + * + * @brief <b>Defined Constants and Types for the Backup RTC</b> + * + * @ingroup EFM32WG_defines + * + * LGPL License Terms @ref lgpl_license + */ /* * This file is part of the libopencm3 project. * @@ -17,9 +25,6 @@ * along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef LIBOPENCM3_EFM32_WG_BURTC_H -#define LIBOPENCM3_EFM32_WG_BURTC_H +#pragma once #include <libopencm3/efm32/common/burtc_common.h> - -#endif |