12 typedef struct sUSBHost tUSBHost;
13 typedef struct sUSBDevice tUSBDevice;
14 typedef struct sUSBEndpoint tUSBEndpoint;
24 tUSB_HubPoll CheckPorts;
27 tUSBDevice *Devices[];
32 tUSBInterface *Interface;
33 tUSBEndpoint *Next; // In the poll list
34 int PollingPeriod; // In 1ms intervals
35 int MaxPacketSize; // In bytes
37 char Direction; // 1 Polled Input, 0 Output
39 Uint8 Type; // Same as sDescriptor_Endpoint.Type
43 * \brief Structure for a device's interface
54 tUSBEndpoint Endpoints[];
58 * \brief Defines a single device on the USB Bus
65 * \brief Host controller used
71 tUSBInterface *Interfaces[];
76 struct sUSBHost *Next;
81 Uint8 AddressBitmap[128/8];
83 tUSBDevice RootHubDev;
87 extern void USB_NewDevice(tUSBHub *Hub);