diff options
Diffstat (limited to 'include/libopencm3/efm32/common/usart_common.h')
-rw-r--r-- | include/libopencm3/efm32/common/usart_common.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/libopencm3/efm32/common/usart_common.h b/include/libopencm3/efm32/common/usart_common.h index b3b3f54b..84f88004 100644 --- a/include/libopencm3/efm32/common/usart_common.h +++ b/include/libopencm3/efm32/common/usart_common.h @@ -1,3 +1,5 @@ +/** @addtogroup usart_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_USART_H -#define LIBOPENCM3_EFM32_USART_H +#pragma once #include <libopencm3/efm32/memorymap.h> #include <libopencm3/cm3/common.h> +/**@{*/ + #define USART_CTRL(base) MMIO32((base) + 0x000) #define USART_FRAME(base) MMIO32((base) + 0x004) #define USART_TRIGCTRL(base) MMIO32((base) + 0x008) @@ -508,5 +511,4 @@ #define USART2_INPUT USART_INPUT(USART2) #define USART2_I2SCTRL USART_I2SCTRL(USART2) -#endif - +/**@}*/
\ No newline at end of file |