summaryrefslogtreecommitdiff
path: root/tinyusb/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-23 19:00:54 +0700
committerhathach <[email protected]>2014-03-23 19:00:54 +0700
commitcf60e374aa60507457a193bf12385f9e0f41f035 (patch)
tree12c7da3a114c8a796658fcd1b6e388d8e65b1c6b /tinyusb/common
parenta8d32d81b37274642179b6ebafcf501eb57fe75c (diff)
doxygen clean up
Diffstat (limited to 'tinyusb/common')
-rw-r--r--tinyusb/common/std_request.h14
-rw-r--r--tinyusb/common/tusb_types.h5
2 files changed, 7 insertions, 12 deletions
diff --git a/tinyusb/common/std_request.h b/tinyusb/common/std_request.h
index dd48b737c..0ace160c4 100644
--- a/tinyusb/common/std_request.h
+++ b/tinyusb/common/std_request.h
@@ -36,12 +36,8 @@
*/
/**************************************************************************/
-/** \ingroup TBD
- * \defgroup TBD
- * \brief TBD
- *
- * @{
- */
+/** \ingroup group_usb_definitions
+ * @{ */
#ifndef _TUSB_STD_REQUEST_H_
#define _TUSB_STD_REQUEST_H_
@@ -53,9 +49,9 @@
typedef ATTR_PACKED_STRUCT(struct){
union {
ATTR_PACKED_STRUCT(struct) {
- uint8_t recipient : 5; /**< Recipient type tusb_std_request_recipient_t. */
- uint8_t type : 2; /**< Request type tusb_control_request_type_t. */
- uint8_t direction : 1; /**< Direction type. tusb_direction_t */
+ uint8_t recipient : 5; ///< Recipient type tusb_std_request_recipient_t.
+ uint8_t type : 2; ///< Request type tusb_control_request_type_t.
+ uint8_t direction : 1; ///< Direction type. tusb_direction_t
} bmRequestType_bit;
uint8_t bmRequestType;
};
diff --git a/tinyusb/common/tusb_types.h b/tinyusb/common/tusb_types.h
index 21738fce9..724b4dbd3 100644
--- a/tinyusb/common/tusb_types.h
+++ b/tinyusb/common/tusb_types.h
@@ -38,8 +38,7 @@
/** \ingroup group_usb_definitions
* \defgroup USBDef_Type USB Types
- * @{
- */
+ * @{ */
#ifndef _TUSB_TUSB_TYPES_H_
#define _TUSB_TUSB_TYPES_H_
@@ -161,7 +160,7 @@ enum {
#define TUSB_DESC_CONFIG_POWER_MA(x) ((x)/2)
/// Device State
-typedef enum tusb_device_state_{
+typedef enum {
TUSB_DEVICE_STATE_UNPLUG = 0 ,
TUSB_DEVICE_STATE_ADDRESSED ,
TUSB_DEVICE_STATE_CONFIGURED ,