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@tweak.net.au>2019-06-22 04:04:26 +0300
committerKarl Palsson <karlp@tweak.net.au>2019-06-22 04:38:20 +0300
commitae777bb9200dbcc205d4032b4bba6f906ff1860a (patch)
tree6bc2f8d1297f24504122c6224636b09decab9350 /include
parentc8b8285446f56784b89832a2319726a5cffbb2f8 (diff)
doc: efm32: timer: enable peripheral_apis style
Diffstat (limited to 'include')
-rw-r--r--include/libopencm3/efm32/ezr32wg/timer.h13
-rw-r--r--include/libopencm3/efm32/hg/timer.h13
-rw-r--r--include/libopencm3/efm32/lg/timer.h13
-rw-r--r--include/libopencm3/efm32/wg/timer.h13
4 files changed, 36 insertions, 16 deletions
diff --git a/include/libopencm3/efm32/ezr32wg/timer.h b/include/libopencm3/efm32/ezr32wg/timer.h
index 848d4eaa..439a418e 100644
--- a/include/libopencm3/efm32/ezr32wg/timer.h
+++ b/include/libopencm3/efm32/ezr32wg/timer.h
@@ -1,3 +1,11 @@
+/** @defgroup timer_defines TIMER Defines
+ *
+ * @brief <b>Defined Constants and Types for the TIMER module</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_TIMER_H
-#define LIBOPENCM3_EFM32_EZR32WG_TIMER_H
+#pragma once
#include <libopencm3/efm32/common/timer_common.h>
-
-#endif
diff --git a/include/libopencm3/efm32/hg/timer.h b/include/libopencm3/efm32/hg/timer.h
index 647abe85..9d88c2e2 100644
--- a/include/libopencm3/efm32/hg/timer.h
+++ b/include/libopencm3/efm32/hg/timer.h
@@ -1,3 +1,11 @@
+/** @defgroup timer_defines TIMER Defines
+ *
+ * @brief <b>Defined Constants and Types for the TIMER module</b>
+ *
+ * @ingroup EFM32HG_defines
+ *
+ * LGPL License Terms @ref lgpl_license
+ */
/*
* This file is part of the libopencm3 project.
*
@@ -15,8 +23,7 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef LIBOPENCM3_TIMER_H
-#define LIBOPENCM3_TIMER_H
+#pragma once
#include <libopencm3/efm32/common/timer_common.h>
@@ -27,5 +34,3 @@
/* TIMER_CCx_CTRL */
#define TIMER_CC_CTRL_PRSCONF (1 << 28)
-
-#endif
diff --git a/include/libopencm3/efm32/lg/timer.h b/include/libopencm3/efm32/lg/timer.h
index 83c6b20d..aecd0e64 100644
--- a/include/libopencm3/efm32/lg/timer.h
+++ b/include/libopencm3/efm32/lg/timer.h
@@ -1,3 +1,11 @@
+/** @defgroup timer_defines TIMER Defines
+ *
+ * @brief <b>Defined Constants and Types for the TIMER module</b>
+ *
+ * @ingroup EFM32LG_defines
+ *
+ * LGPL License Terms @ref lgpl_license
+ */
/*
* This file is part of the libopencm3 project.
*
@@ -15,9 +23,6 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef LIBOPENCM3_TIMER_H
-#define LIBOPENCM3_TIMER_H
+#pragma once
#include <libopencm3/efm32/common/timer_common.h>
-
-#endif
diff --git a/include/libopencm3/efm32/wg/timer.h b/include/libopencm3/efm32/wg/timer.h
index fc51e77d..9d0a1cd1 100644
--- a/include/libopencm3/efm32/wg/timer.h
+++ b/include/libopencm3/efm32/wg/timer.h
@@ -1,3 +1,11 @@
+/** @defgroup timer_defines TIMER Defines
+ *
+ * @brief <b>Defined Constants and Types for the TIMER module</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_TIMER_H
-#define LIBOPENCM3_EFM32_WG_TIMER_H
+#pragma once
#include <libopencm3/efm32/common/timer_common.h>
-
-#endif