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; // In the segmented list
34 tUSBInterface *Interface;
37 int PollingPeriod; // In 1ms intervals
38 int PollingAtoms; // *INTERNAL* usb_poll.c
39 int MaxPacketSize; // In bytes
41 Uint8 Type; // Same as sUSBDriver.Endpoints.Type
45 * \brief Structure for a device's interface
56 tUSBEndpoint Endpoints[];
60 * \brief Defines a single device on the USB Bus
67 * \brief Host controller used
73 tUSBInterface *Interfaces[];
78 struct sUSBHost *Next;
83 Uint8 AddressBitmap[128/8];
85 tUSBDevice RootHubDev;
86 tUSBInterface RootHubIf;
90 extern void USB_NewDevice(tUSBHub *Hub);