doc: efm32: tag USB files for doxygen generation
This commit is contained in:
@@ -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
|
||||
|
||||
/**@}*/
|
||||
@@ -1,3 +1,11 @@
|
||||
/** @defgroup usb_defines USB Defines
|
||||
*
|
||||
* @brief <b>Defined Constants and Types for the USB module</b>
|
||||
*
|
||||
* @ingroup EZR32WG_defines
|
||||
*
|
||||
* LGPL License Terms @ref lgpl_license
|
||||
*/
|
||||
/*
|
||||
* This file is part of the libopencm3 project.
|
||||
*
|
||||
@@ -17,9 +25,6 @@
|
||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENCM3_EFM32_EZR32WG_USB_H
|
||||
#define LIBOPENCM3_EFM32_EZR32WG_USB_H
|
||||
#pragma once
|
||||
|
||||
#include <libopencm3/efm32/common/usb_common.h>
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
/** @defgroup usb_defines USB Defines
|
||||
*
|
||||
* @brief <b>Defined Constants and Types for the USB module</b>
|
||||
*
|
||||
* @ingroup EFM32HG_defines
|
||||
*
|
||||
* LGPL License Terms @ref lgpl_license
|
||||
*/
|
||||
/*
|
||||
* This file is part of the libopencm3 project.
|
||||
*
|
||||
@@ -18,12 +26,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/dwc/otg_fs.h>
|
||||
|
||||
/**@{*/
|
||||
|
||||
#define USB_CTRL MMIO32(USB_BASE + 0x000)
|
||||
#define USB_STATUS MMIO32(USB_BASE + 0x004)
|
||||
#define USB_IF MMIO32(USB_BASE + 0x008)
|
||||
@@ -58,4 +67,4 @@
|
||||
/* Bit 1 - Reserved */
|
||||
#define USB_ROUTE_PHYPEN (1 << 0)
|
||||
|
||||
#endif
|
||||
/**@}*/
|
||||
@@ -1,3 +1,11 @@
|
||||
/** @defgroup usb_defines USB Defines
|
||||
*
|
||||
* @brief <b>Defined Constants and Types for the USB module</b>
|
||||
*
|
||||
* @ingroup EFM32LG_defines
|
||||
*
|
||||
* LGPL License Terms @ref lgpl_license
|
||||
*/
|
||||
/*
|
||||
* This file is part of the libopencm3 project.
|
||||
*
|
||||
@@ -17,9 +25,6 @@
|
||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENCM3_EFM32_LG_USB_H
|
||||
#define LIBOPENCM3_EFM32_LG_USB_H
|
||||
#pragma once
|
||||
|
||||
#include <libopencm3/efm32/common/usb_common.h>
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
/** @defgroup usb_defines USB Defines
|
||||
*
|
||||
* @brief <b>Defined Constants and Types for the USB module</b>
|
||||
*
|
||||
* @ingroup EFM32WG_defines
|
||||
*
|
||||
* LGPL License Terms @ref lgpl_license
|
||||
*/
|
||||
/*
|
||||
* This file is part of the libopencm3 project.
|
||||
*
|
||||
@@ -17,9 +25,6 @@
|
||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENCM3_EFM32_WG_USB_H
|
||||
#define LIBOPENCM3_EFM32_WG_USB_H
|
||||
#pragma once
|
||||
|
||||
#include <libopencm3/efm32/common/usb_common.h>
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user