Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2019-06-25 14:11:27 +0300
committerKarl Palsson <karlp@etactica.com>2019-06-26 00:15:19 +0300
commitc92f3dc0adb6d6502a86fd6681d7f8fb1c1a1feb (patch)
tree3514a9296ecad3e2cee835b5538739b82fc01ffc /include
parent25dc3a9b4bf9077b5c78d0768de8c486e0ccbdf2 (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.h10
-rw-r--r--include/libopencm3/efm32/ezr32wg/letimer.h13
-rw-r--r--include/libopencm3/efm32/lg/letimer.h13
-rw-r--r--include/libopencm3/efm32/wg/letimer.h13
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