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:
Diffstat (limited to 'include/libopencm3/efm32/common/prs_common.h')
-rw-r--r--include/libopencm3/efm32/common/prs_common.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/libopencm3/efm32/common/prs_common.h b/include/libopencm3/efm32/common/prs_common.h
index 82fde156..fa8bad1b 100644
--- a/include/libopencm3/efm32/common/prs_common.h
+++ b/include/libopencm3/efm32/common/prs_common.h
@@ -1,3 +1,5 @@
+/** @addtogroup prs_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_PRS_H
-#define LIBOPENCM3_EFM32_PRS_H
+#pragma once
#include <libopencm3/cm3/common.h>
#include <libopencm3/efm32/memorymap.h>
+/**@{*/
+
#define PRS_SWPULSE MMIO32(PRS_BASE + 0x000)
#define PRS_SWLEVEL MMIO32(PRS_BASE + 0x004)
#define PRS_ROUTE MMIO32(PRS_BASE + 0x008)
@@ -359,5 +362,4 @@ void prs_set_signal(enum prs_ch ch, uint32_t sig);
END_DECLS
-#endif
-
+/**@}*/ \ No newline at end of file