3 * - By John Hodge (thePowersGang)
6 * - USB Internal definitions
15 typedef struct sUSBHost tUSBHost;
16 typedef struct sUSBDevice tUSBDevice;
17 typedef struct sUSBEndpoint tUSBEndpoint;
25 tUSBInterface *Interface;
28 tUSBDevice *Devices[];
33 tUSBEndpoint *Next; // (usb_poll.c) Clock list
34 tUSBInterface *Interface;
35 int EndpointIdx; // Interface endpoint index
36 int EndpointNum; // Device endpoint num
38 int PollingPeriod; // In 1ms intervals
39 int MaxPacketSize; // In bytes
40 Uint8 Type; // Same as sUSBDriver.Endpoints.Type
42 int PollingAtoms; // (usb_poll.c) Period in clock list
47 * \brief Structure for a device's interface
51 // tUSBInterface *Next;
58 tUSBEndpoint Endpoints[];
62 * \brief Defines a single device on the USB Bus
69 * \brief Host controller used
75 tUSBInterface *Interfaces[];
80 struct sUSBHost *Next;
85 Uint8 AddressBitmap[128/8];
87 tUSBDevice RootHubDev;
88 tUSBInterface RootHubIf;
92 extern tUSBDriver *USB_int_FindDriverByClass(Uint32 ClassCode);