diff options
Diffstat (limited to 'include/libopencm3/efm32/common/usb_common.h')
-rw-r--r-- | include/libopencm3/efm32/common/usb_common.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/libopencm3/efm32/common/usb_common.h b/include/libopencm3/efm32/common/usb_common.h index 891edbfb..e4e8e16f 100644 --- a/include/libopencm3/efm32/common/usb_common.h +++ b/include/libopencm3/efm32/common/usb_common.h @@ -1,3 +1,5 @@ +/** @addtogroup usb_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_USB_H -#define LIBOPENCM3_EFM32_USB_H +#pragma once #include <libopencm3/cm3/common.h> #include <libopencm3/usb/usbd.h> +/**@{*/ + #define USB_CTRL MMIO32(USB_BASE + 0x000) #define USB_STATUS MMIO32(USB_BASE + 0x004) #define USB_IF MMIO32(USB_BASE + 0x008) @@ -365,5 +368,4 @@ /* Bits 18:7 - Reserved */ #define USB_DIEP0TSIZ_XFRSIZ_MASK (0x7f << 0) -#endif - +/**@}*/
\ No newline at end of file |