diff options
Diffstat (limited to 'include/libopencm3/efm32/common/rtc_common.h')
-rw-r--r-- | include/libopencm3/efm32/common/rtc_common.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/libopencm3/efm32/common/rtc_common.h b/include/libopencm3/efm32/common/rtc_common.h index ad50bcbd..c7eea3e4 100644 --- a/include/libopencm3/efm32/common/rtc_common.h +++ b/include/libopencm3/efm32/common/rtc_common.h @@ -1,3 +1,5 @@ +/** @addtogroup rtc_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_RTC_H -#define LIBOPENCM3_EFM32_RTC_H +#pragma once #include <libopencm3/efm32/memorymap.h> #include <libopencm3/cm3/common.h> +/**@{*/ + #define RTC_CTRL (RTC_BASE + 0x000) #define RTC_CNT (RTC_BASE + 0x004) #define RTC_COMP0 (RTC_BASE + 0x008) @@ -67,5 +70,4 @@ #define RTC_SYNCBUSY_COMP0 (1 << 1) #define RTC_SYNCBUSY_CTRL (1 << 0) -#endif - +/**@}*/
\ No newline at end of file |