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:42:47 +0300
committerKarl Palsson <karlp@etactica.com>2019-06-26 00:15:19 +0300
commit56265ad93fe0474d1a6a2ca3095dded3ef548541 (patch)
treea8dbca8bc2dbc0526893ac4642a3d994454a3b64 /include
parent6df301accc8b2ef4e4e6649fb0f69e99658ddcdd (diff)
doc: efm32: rtc: tag and include in generated output
Includes the sutb file ncessary to find shared headers without any apis
Diffstat (limited to 'include')
-rw-r--r--include/libopencm3/efm32/common/rtc_common.h10
-rw-r--r--include/libopencm3/efm32/ezr32wg/rtc.h13
-rw-r--r--include/libopencm3/efm32/lg/rtc.h13
-rw-r--r--include/libopencm3/efm32/wg/rtc.h13
4 files changed, 33 insertions, 16 deletions
diff --git a/include/libopencm3/efm32/common/rtc_common.h b/include/libopencm3/efm32/common/rtc_common.h
index ad50bcbd..c7eea3e4 100644
--- a/include/libopencm3/efm32/common/rtc_common.h
+++ b/include/libopencm3/efm32/common/rtc_common.h
@@ -1,3 +1,5 @@
+/** @addtogroup rtc_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_RTC_H
-#define LIBOPENCM3_EFM32_RTC_H
+#pragma once
#include <libopencm3/efm32/memorymap.h>
#include <libopencm3/cm3/common.h>
+/**@{*/
+
#define RTC_CTRL (RTC_BASE + 0x000)
#define RTC_CNT (RTC_BASE + 0x004)
#define RTC_COMP0 (RTC_BASE + 0x008)
@@ -67,5 +70,4 @@
#define RTC_SYNCBUSY_COMP0 (1 << 1)
#define RTC_SYNCBUSY_CTRL (1 << 0)
-#endif
-
+/**@}*/ \ No newline at end of file
diff --git a/include/libopencm3/efm32/ezr32wg/rtc.h b/include/libopencm3/efm32/ezr32wg/rtc.h
index 3c96410c..a45a5e72 100644
--- a/include/libopencm3/efm32/ezr32wg/rtc.h
+++ b/include/libopencm3/efm32/ezr32wg/rtc.h
@@ -1,3 +1,11 @@
+/** @defgroup rtc_defines RTC Defines
+ *
+ * @brief <b>Defined Constants and Types for the Real Time Clock</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_RTC_H
-#define LIBOPENCM3_EFM32_EZR32WG_RTC_H
+#pragma once
#include <libopencm3/efm32/common/rtc_common.h>
-
-#endif
diff --git a/include/libopencm3/efm32/lg/rtc.h b/include/libopencm3/efm32/lg/rtc.h
index 49b2abaa..0aab324e 100644
--- a/include/libopencm3/efm32/lg/rtc.h
+++ b/include/libopencm3/efm32/lg/rtc.h
@@ -1,3 +1,11 @@
+/** @defgroup rtc_defines RTC Defines
+ *
+ * @brief <b>Defined Constants and Types for the Real Time Clock</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_RTC_H
-#define LIBOPENCM3_EFM32_LG_RTC_H
+#pragma once
#include <libopencm3/efm32/common/rtc_common.h>
-
-#endif
diff --git a/include/libopencm3/efm32/wg/rtc.h b/include/libopencm3/efm32/wg/rtc.h
index 39c2ff0e..e2a85a66 100644
--- a/include/libopencm3/efm32/wg/rtc.h
+++ b/include/libopencm3/efm32/wg/rtc.h
@@ -1,3 +1,11 @@
+/** @defgroup rtc_defines RTC Defines
+ *
+ * @brief <b>Defined Constants and Types for the Real Time Clock</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_RTC_H
-#define LIBOPENCM3_EFM32_WG_RTC_H
+#pragma once
#include <libopencm3/efm32/common/rtc_common.h>
-
-#endif