3 * - By John Hodge (thePowersGang)
6 * - Core Hub Definitions
13 typedef struct sUSBHub tUSBHub;
15 typedef void (*tUSB_HubPoll)(tUSBHub *Hub, tUSBDevice *HubDev);
18 * \brief Register a device as a hub
20 * Used by the hub class initialisation routine.
22 extern tUSBHub USB_RegisterHub(tUSBDevice *Device, int nPorts, tUSB_HubPoll PollCallback);
24 extern void USB_DeviceConnected(tUSBHub *Hub, int Port);
25 extern void USB_DeviceDisconnected(tUSBHub *Hub, int Port);