From 5980c58f9b72bf302f64da76bdf105a85b9d1903 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 19 Sep 2022 12:59:05 +0000 Subject: [PATCH] stm32g4: syscfg: fix doxygen Signed-off-by: Karl Palsson --- include/libopencm3/stm32/g4/syscfg.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/include/libopencm3/stm32/g4/syscfg.h b/include/libopencm3/stm32/g4/syscfg.h index e490032f..53f73980 100644 --- a/include/libopencm3/stm32/g4/syscfg.h +++ b/include/libopencm3/stm32/g4/syscfg.h @@ -7,6 +7,7 @@ * @version 1.0.0 * * LGPL License Terms @ref lgpl_license + * @{ * */ @@ -27,14 +28,16 @@ * along with this library. If not, see . */ -#ifndef LIBOPENCM3_SYSCFG_H -#define LIBOPENCM3_SYSCFG_H +#pragma once + +/** @defgroup syscfg_registers SYSCFG registers +@{*/ #define SYSCFG_MEMRM MMIO32(SYSCFG_BASE + 0x00) #define SYSCFG_PMC MMIO32(SYSCFG_BASE + 0x04) -/* External interrupt configuration registers [0..3] (SYSCFG_EXTICR[1..4]) */ +/** External interrupt configuration registers [0..3] (SYSCFG_EXTICR[1..4]) */ #define SYSCFG_EXTICR(i) MMIO32(SYSCFG_BASE + 0x08 + (i)*4) #define SYSCFG_EXTICR1 SYSCFG_EXTICR(0) #define SYSCFG_EXTICR2 SYSCFG_EXTICR(1) @@ -42,9 +45,8 @@ #define SYSCFG_EXTICR4 SYSCFG_EXTICR(3) #define SYSCFG_SWPR MMIO32(SYSCFG_BASE + 0x20) - -/* --- SYSCFG_EXTICR Values -------------------------------------------------*/ +/**@}*/ #define SYSCFG_EXTICR_FIELDSIZE 4 -#endif +/**@}*/