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
path: root/lib
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2019-06-22 03:59:05 +0300
committerKarl Palsson <karlp@tweak.net.au>2019-06-22 04:38:20 +0300
commit093edfb8810c03513396abbaeab391d234d21fe9 (patch)
tree1849accc0698d33e8028f6cf6a8ad45025da928c /lib
parent9bc432474b1ceca6b130564da75879539c513694 (diff)
doc: efm32: cmu: move to peripheral_apis
Was completely undocumented before. Just needed different tagging so it could be picked up. No attempt at this stage of sharing more code between the cmu modules.
Diffstat (limited to 'lib')
-rw-r--r--lib/efm32/common/cmu_common.c7
-rw-r--r--lib/efm32/hg/cmu.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/efm32/common/cmu_common.c b/lib/efm32/common/cmu_common.c
index c1472ed6..8a577516 100644
--- a/lib/efm32/common/cmu_common.c
+++ b/lib/efm32/common/cmu_common.c
@@ -1,3 +1,6 @@
+/** @addtogroup cmu_file CMU peripheral API
+ * @ingroup peripheral_apis
+ */
/*
* This file is part of the libopencm3 project.
*
@@ -20,6 +23,8 @@
#include <libopencm3/efm32/cmu.h>
#include <libopencm3/efm32/msc.h>
+/**@{*/
+
/**
* Enable CMU registers lock.
*/
@@ -270,3 +275,5 @@ void cmu_clock_setup_in_hfxo_out_48mhz(void)
/* wait till HFXO not selected */
while (cmu_get_hfclk_source() != HFXO);
}
+
+/**@}*/ \ No newline at end of file
diff --git a/lib/efm32/hg/cmu.c b/lib/efm32/hg/cmu.c
index d5f3b4ce..3d678eeb 100644
--- a/lib/efm32/hg/cmu.c
+++ b/lib/efm32/hg/cmu.c
@@ -1,3 +1,6 @@
+/** @addtogroup cmu_file CMU peripheral API
+ * @ingroup peripheral_apis
+ */
/*
* This file is part of the libopencm3 project.
*
@@ -20,6 +23,8 @@
#include <libopencm3/efm32/cmu.h>
+/**@{*/
+
/**
* Enable CMU registers lock.
*/
@@ -305,3 +310,5 @@ void cmu_wait_for_usbclk_selected(enum cmu_osc osc)
return;
}
}
+
+/**@}*/ \ No newline at end of file