summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-11-19 21:01:33 +0700
committerhathach <[email protected]>2020-11-19 21:01:33 +0700
commit3c31d0805130e9551f97afae94f765b5d032991b (patch)
tree28df10fbe8c8b93f9b723330e76d76fab332d0f3 /src/common
parent589dfdb0e58fe6630f2b67c49c7f682ac51aba8f (diff)
merge class driver control_request & control_complete to control_xfer_cb()
migrated msc_device
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index d6b6ea627..5ab15aa3c 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -250,6 +250,13 @@ typedef enum
MS_OS_20_FEATURE_VENDOR_REVISION = 0x08
} microsoft_os_20_type_t;
+enum
+{
+ CONTROL_STAGE_SETUP,
+ CONTROL_STAGE_DATA,
+ CONTROL_STAGE_ACK
+};
+
//--------------------------------------------------------------------+
// USB Descriptors
//--------------------------------------------------------------------+