diff options
author | Karl Palsson <karlp@etactica.com> | 2019-06-25 12:38:42 +0300 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2019-06-26 00:15:19 +0300 |
commit | 764fbed9c8b5e1ae2b5bf1a5f1e45c8349e3e52d (patch) | |
tree | d1fccf08176af62a03b29f44abe250bc67141d20 /include/libopencm3 | |
parent | 790d62423084a013f3f91ca483f5a9e92abafb50 (diff) |
doc: efm32: dac: fix up mising tags on common file
Diffstat (limited to 'include/libopencm3')
-rw-r--r-- | include/libopencm3/efm32/common/dac_common.h | 10 |
1 files changed, 6 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>. */ -#ifndef LIBOPENCM3_EFM32_DAC_H -#define LIBOPENCM3_EFM32_DAC_H +#pragma once #include <libopencm3/efm32/memorymap.h> #include <libopencm3/cm3/common.h> #include <libopencm3/efm32/prs.h> +/**@{*/ + #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 |