summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-11-23 13:06:20 +0700
committerGitHub <[email protected]>2020-11-23 13:06:20 +0700
commit49f09f55d063876fcd33d21bbe30a940ac5bcf68 (patch)
tree699295b00d1169fae133fc867cc3c58b0b23def6 /src/common
parent589dfdb0e58fe6630f2b67c49c7f682ac51aba8f (diff)
parente4144d8b47b438ff57a09c54de49e7e6c68d9343 (diff)
Merge pull request #557 from hathach/rework-class-driver-control
Rework class driver control transfer
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
//--------------------------------------------------------------------+