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 . */ -#ifndef LIBOPENCM3_EFM32_PRS_H -#define LIBOPENCM3_EFM32_PRS_H +#pragma once #include #include +/**@{*/ + #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 diff --git a/include/libopencm3/efm32/ezr32wg/prs.h b/include/libopencm3/efm32/ezr32wg/prs.h index 6b58af82..6ce36335 100644 --- a/include/libopencm3/efm32/ezr32wg/prs.h +++ b/include/libopencm3/efm32/ezr32wg/prs.h @@ -1,3 +1,11 @@ +/** @defgroup prs_defines PRS Defines + * + * @brief Defined Constants and Types for the Peripheral Reflex System + * + * @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 . */ -#ifndef LIBOPENCM3_EFM32_EZR32WG_PRS_H -#define LIBOPENCM3_EFM32_EZR32WG_PRS_H +#pragma once #include - -#endif diff --git a/include/libopencm3/efm32/lg/prs.h b/include/libopencm3/efm32/lg/prs.h index a2469457..e059892e 100644 --- a/include/libopencm3/efm32/lg/prs.h +++ b/include/libopencm3/efm32/lg/prs.h @@ -1,3 +1,11 @@ +/** @defgroup prs_defines PRS Defines + * + * @brief Defined Constants and Types for the Peripheral Reflex System + * + * @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 . */ -#ifndef LIBOPENCM3_EFM32_LG_PRS_H -#define LIBOPENCM3_EFM32_LG_PRS_H +#pragma once #include - -#endif diff --git a/include/libopencm3/efm32/wg/prs.h b/include/libopencm3/efm32/wg/prs.h index 2df0410d..42afc138 100644 --- a/include/libopencm3/efm32/wg/prs.h +++ b/include/libopencm3/efm32/wg/prs.h @@ -1,3 +1,11 @@ +/** @defgroup prs_defines PRS Defines + * + * @brief Defined Constants and Types for the Peripheral Reflex System + * + * @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 . */ -#ifndef LIBOPENCM3_EFM32_WG_PRS_H -#define LIBOPENCM3_EFM32_WG_PRS_H +#pragma once #include - -#endif