summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-12-15 15:27:39 +0700
committerhathach <[email protected]>2022-12-16 17:08:37 +0700
commitbd1f7f86ce1b6e82c3942d545e984b74b050004e (patch)
tree81ee270a9988d418406a58ad972e1cbf261563dd /src/common
parentf62f97395626f316f1670f1777a0a75877e8e773 (diff)
add common EPSIZE for bulk/iso in full and highspeed
adding cdc host fifo tx/rx
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index 1bfa7c7d1..c4c9d4133 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -69,6 +69,15 @@ typedef enum
TUSB_DIR_IN_MASK = 0x80
}tusb_dir_t;
+enum
+{
+ TUSB_EPSIZE_BULK_FS = 64,
+ TUSB_EPSIZE_BULK_HS= 512,
+
+ TUSB_EPSIZE_ISO_FS_MAX = 1023,
+ TUSB_EPSIZE_ISO_HS_MAX = 1024,
+};
+
/// Isochronous End Point Attributes
typedef enum
{
@@ -243,7 +252,6 @@ enum
INTERFACE_INVALID_NUMBER = 0xff
};
-
typedef enum
{
MS_OS_20_SET_HEADER_DESCRIPTOR = 0x00,