12 typedef struct sUSBHost tUSBHost;
13 typedef struct sUSBDevice tUSBDevice;
14 typedef struct sUSBEndpoint tUSBEndpoint;
22 tUSBInterface *Interface;
25 tUSBDevice *Devices[];
30 tUSBEndpoint *Next; // In the poll list
31 tUSBInterface *Interface;
34 int PollingPeriod; // In 1ms intervals
35 int MaxPacketSize; // In bytes
37 Uint8 Type; // Same as sUSBDriver.Endpoints.Type
41 * \brief Structure for a device's interface
52 tUSBEndpoint Endpoints[];
56 * \brief Defines a single device on the USB Bus
63 * \brief Host controller used
69 tUSBInterface *Interfaces[];
74 struct sUSBHost *Next;
79 Uint8 AddressBitmap[128/8];
81 tUSBDevice RootHubDev;
82 tUSBInterface RootHubIf;
86 extern void USB_NewDevice(tUSBHub *Hub);