diff --git a/include/libopencm3/efm32/common/dac_common.h b/include/libopencm3/efm32/common/dac_common.h index ff07d4fa..d77bd751 100644 --- a/include/libopencm3/efm32/common/dac_common.h +++ b/include/libopencm3/efm32/common/dac_common.h @@ -1,3 +1,5 @@ +/** @addtogroup dac_defines + */ /* * This file is part of the libopencm3 project. * @@ -17,13 +19,14 @@ * along with this library. If not, see . */ -#ifndef LIBOPENCM3_EFM32_DAC_H -#define LIBOPENCM3_EFM32_DAC_H +#pragma once #include #include #include +/**@{*/ + #define DAC_CTRL(base) MMIO32((base) + 0x00) #define DAC_STATUS(base) MMIO32((base) + 0x04) #define DAC_CHx_CTRL(base, x) MMIO32((base) + 0x08 + (0x04 * (x))) @@ -508,5 +511,4 @@ void dac_disable_channel(uint32_t dac_base, enum dac_ch ch); END_DECLS -#endif - +/**@}*/ \ No newline at end of file