summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorkkitayam <[email protected]>2021-07-25 14:01:35 +0900
committerkkitayam <[email protected]>2021-09-29 21:23:14 +0900
commit033d6b28fff1644411ef430a968ca7f0d9aa3b05 (patch)
tree84570a4364c872ef459324b9f7d6e01ba5b396b2 /src/common
parente8de4113223f2a435bde87c13a4d99c1d886619f (diff)
moved ISO attributes from audio to common
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index f26983a74..897e89b39 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -69,6 +69,18 @@ typedef enum
TUSB_DIR_IN_MASK = 0x80
}tusb_dir_t;
+/// Isochronous End Point Attributes
+typedef enum
+{
+ TUSB_ISO_EP_ATT_NO_SYNC = 0x00,
+ TUSB_ISO_EP_ATT_ASYNCHRONOUS = 0x04,
+ TUSB_ISO_EP_ATT_ADAPTIVE = 0x08,
+ TUSB_ISO_EP_ATT_SYNCHRONOUS = 0x0C,
+ TUSB_ISO_EP_ATT_DATA = 0x00, ///< Data End Point
+ TUSB_ISO_EP_ATT_EXPLICIT_FB = 0x10, ///< Feedback End Point
+ TUSB_ISO_EP_ATT_IMPLICIT_FB = 0x20, ///< Data endpoint that also serves as an implicit feedback
+}tusb_iso_ep_attribute_t;
+
/// USB Descriptor Types
typedef enum
{