diff options
| author | hathach <[email protected]> | 2026-03-07 15:25:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-03-07 15:25:05 +0700 |
| commit | f17da1c66e53a05e7d400efc98cbfe4faa820ae4 (patch) | |
| tree | 37dfcd606c74438446aebbe0836ff7b9950d8e02 /src/host/hub.h | |
| parent | 5817f0d2eb285d058a1aa416abaefe29cb858093 (diff) | |
open hub mtt interface in 1 call
Diffstat (limited to 'src/host/hub.h')
| -rw-r--r-- | src/host/hub.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/host/hub.h b/src/host/hub.h index d9750f8a5..8a7feda70 100644 --- a/src/host/hub.h +++ b/src/host/hub.h @@ -92,6 +92,13 @@ enum { HUB_CHARS_OVER_CURRENT_INDIVIDUAL = 1, }; +// Hub Interface Protocol (USB 2.0 spec Table 11-16) +typedef enum { + HUB_PROTOCOL_FULL_SPEED = 0, // Full speed hub + HUB_PROTOCOL_HIGH_SPEED_STT = 1, // Hi-speed hub with single TT + HUB_PROTOCOL_HIGH_SPEED_MTT = 2, // Hi-speed hub with multiple TTs +} hub_protocol_t; + typedef struct TU_ATTR_PACKED{ uint8_t bLength ; ///< Size of descriptor uint8_t bDescriptorType ; ///< Other_speed_Configuration Type |
