diff options
author | Karl Palsson <karlp@etactica.com> | 2019-06-25 14:11:27 +0300 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2019-06-26 00:15:19 +0300 |
commit | c92f3dc0adb6d6502a86fd6681d7f8fb1c1a1feb (patch) | |
tree | 3514a9296ecad3e2cee835b5538739b82fc01ffc /include | |
parent | 25dc3a9b4bf9077b5c78d0768de8c486e0ccbdf2 (diff) |
doc: efm32: letimer: include tags for doxygen
Include a stub .c file to document the shared headers.
Diffstat (limited to 'include')
-rw-r--r-- | include/libopencm3/efm32/common/letimer_common.h | 10 | ||||
-rw-r--r-- | include/libopencm3/efm32/ezr32wg/letimer.h | 13 | ||||
-rw-r--r-- | include/libopencm3/efm32/lg/letimer.h | 13 | ||||
-rw-r--r-- | include/libopencm3/efm32/wg/letimer.h | 13 |
4 files changed, 33 insertions, 16 deletions
diff --git a/include/libopencm3/efm32/common/letimer_common.h b/include/libopencm3/efm32/common/letimer_common.h index 40c2f9ff..a7826731 100644 --- a/include/libopencm3/efm32/common/letimer_common.h +++ b/include/libopencm3/efm32/common/letimer_common.h @@ -1,3 +1,5 @@ +/** @addtogroup letimer_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_LETIMER_H -#define LIBOPENCM3_EFM32_LETIMER_H +#pragma once #include <libopencm3/efm32/memorymap.h> #include <libopencm3/cm3/common.h> +/**@{*/ + #define LETIMER_CTRL(base) ((base) + 0x000) #define LETIMER_CMD(base) ((base) + 0x004) #define LETIMER_STATUS(base) ((base) + 0x008) @@ -161,5 +164,4 @@ #define LETIMER0_SYNCBUSY LETIMER_SYNCBUSY(LETIMER0) #define LETIMER0_ROUTE LETIMER_ROUTE(LETIMER0) -#endif - +/**@}*/
\ No newline at end of file diff --git a/include/libopencm3/efm32/ezr32wg/letimer.h b/include/libopencm3/efm32/ezr32wg/letimer.h index 6fbfbc7f..dc8d4fd3 100644 --- a/include/libopencm3/efm32/ezr32wg/letimer.h +++ b/include/libopencm3/efm32/ezr32wg/letimer.h @@ -1,3 +1,11 @@ +/** @defgroup letimer_defines LETIMER Defines + * + * @brief <b>Defined Constants and Types for the Low Energy Timer</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_LETIMER_H -#define LIBOPENCM3_EFM32_EZR32WG_LETIMER_H +#pragma once #include <libopencm3/efm32/common/letimer_common.h> - -#endif diff --git a/include/libopencm3/efm32/lg/letimer.h b/include/libopencm3/efm32/lg/letimer.h index 40c283f4..9a12151d 100644 --- a/include/libopencm3/efm32/lg/letimer.h +++ b/include/libopencm3/efm32/lg/letimer.h @@ -1,3 +1,11 @@ +/** @defgroup letimer_defines LETIMER Defines + * + * @brief <b>Defined Constants and Types for the Low Energy Timer</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_LETIMER_H -#define LIBOPENCM3_EFM32_LG_LETIMER_H +#pragma once #include <libopencm3/efm32/common/letimer_common.h> - -#endif diff --git a/include/libopencm3/efm32/wg/letimer.h b/include/libopencm3/efm32/wg/letimer.h index 674b2fe4..ee7473a3 100644 --- a/include/libopencm3/efm32/wg/letimer.h +++ b/include/libopencm3/efm32/wg/letimer.h @@ -1,3 +1,11 @@ +/** @defgroup letimer_defines LETIMER Defines + * + * @brief <b>Defined Constants and Types for the Low Energy Timer</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_LETIMER_H -#define LIBOPENCM3_EFM32_WG_LETIMER_H +#pragma once #include <libopencm3/efm32/common/letimer_common.h> - -#endif |