Use standard one-liner comments instead of the Doxygen syntax.
This commit is contained in:
+12
-12
@@ -1,40 +1,40 @@
|
|||||||
#ifndef __USB_DEVICE_CONFIG_H__
|
#ifndef __USB_DEVICE_CONFIG_H__
|
||||||
#define __USB_DEVICE_CONFIG_H__
|
#define __USB_DEVICE_CONFIG_H__
|
||||||
|
|
||||||
/*! @brief KHCI instance count */
|
// KHCI instance count
|
||||||
#define USB_DEVICE_CONFIG_KHCI 1
|
#define USB_DEVICE_CONFIG_KHCI 1
|
||||||
|
|
||||||
/*! @brief Device instance count, the sum of KHCI and EHCI instance counts*/
|
// Device instance count, the sum of KHCI and EHCI instance counts
|
||||||
#define USB_DEVICE_CONFIG_NUM 1
|
#define USB_DEVICE_CONFIG_NUM 1
|
||||||
|
|
||||||
/*! @brief HID instance count */
|
// HID instance count
|
||||||
#define USB_DEVICE_CONFIG_HID 3
|
#define USB_DEVICE_CONFIG_HID 3
|
||||||
|
|
||||||
/*! @brief Whether device is self power. 1U supported, 0U not supported */
|
// Whether the device is self-powered: 1 supported, 0 not supported
|
||||||
#define USB_DEVICE_CONFIG_SELF_POWER 1
|
#define USB_DEVICE_CONFIG_SELF_POWER 1
|
||||||
|
|
||||||
/*! @brief Whether device remote wakeup supported. 1U supported, 0U not supported */
|
// Whether device remote wakeup supported: 1 supported, 0 not supported
|
||||||
#define USB_DEVICE_CONFIG_REMOTE_WAKEUP 0
|
#define USB_DEVICE_CONFIG_REMOTE_WAKEUP 0
|
||||||
|
|
||||||
/*! @brief How many endpoints are supported in the stack. */
|
// How many endpoints are supported in the stack
|
||||||
#define USB_DEVICE_CONFIG_ENDPOINTS 6
|
#define USB_DEVICE_CONFIG_ENDPOINTS 6
|
||||||
|
|
||||||
/*! @brief The MAX buffer length for the KHCI DMA workaround.*/
|
// The maximum buffer length for the KHCI DMA workaround
|
||||||
#define USB_DEVICE_CONFIG_KHCI_DMA_ALIGN_BUFFER_LENGTH 64
|
#define USB_DEVICE_CONFIG_KHCI_DMA_ALIGN_BUFFER_LENGTH 64
|
||||||
|
|
||||||
/*! @brief Whether handle the USB KHCI bus error. */
|
// Whether handle the USB KHCI bus error
|
||||||
#define USB_DEVICE_CONFIG_KHCI_ERROR_HANDLING 0
|
#define USB_DEVICE_CONFIG_KHCI_ERROR_HANDLING 0
|
||||||
|
|
||||||
/*! @brief Whether the keep alive feature enabled. */
|
// Whether the keep alive feature enabled
|
||||||
#define USB_DEVICE_CONFIG_KEEP_ALIVE_MODE 0
|
#define USB_DEVICE_CONFIG_KEEP_ALIVE_MODE 0
|
||||||
|
|
||||||
/*! @brief Whether the transfer buffer is cache-enabled or not. */
|
// Whether the transfer buffer is cache-enabled or not
|
||||||
#define USB_DEVICE_CONFIG_BUFFER_PROPERTY_CACHEABLE 0
|
#define USB_DEVICE_CONFIG_BUFFER_PROPERTY_CACHEABLE 0
|
||||||
|
|
||||||
/*! @brief Whether the low power mode is enabled or not. */
|
// Whether the low power mode is enabled or not
|
||||||
#define USB_DEVICE_CONFIG_LOW_POWER_MODE 0
|
#define USB_DEVICE_CONFIG_LOW_POWER_MODE 0
|
||||||
|
|
||||||
/*! @brief Whether the device detached feature is enabled or not. */
|
// Whether the device detached feature is enabled or not
|
||||||
#define USB_DEVICE_CONFIG_DETACH_ENABLE 0
|
#define USB_DEVICE_CONFIG_DETACH_ENABLE 0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user