6b32d49c49b8078ad0269b69ce3649bfd8b97a51
[tpg/acess2.git] / Modules / USB / Core / include / usb_hub.h
1 /*
2  * Acess2 USB Stack
3  * - By John Hodge (thePowersGang)
4  *
5  * usb_hub.h
6  * - Core Hub Definitions
7  */
8 #ifndef _USB_HUB_H_
9 #define _USB_HUB_H_
10
11 #include "usb_core.h"
12
13 typedef struct sUSBHub  tUSBHub;
14
15 /**
16  * \brief Register a device as a hub
17  * 
18  * Used by the hub class initialisation routine.
19  */
20 extern tUSBHub  *USB_RegisterHub(tUSBInterface *Device, int nPorts);
21 extern void     USB_RemoveHub(tUSBHub *Hub);
22
23 extern void     USB_DeviceConnected(tUSBHub *Hub, int Port);
24 extern void     USB_DeviceDisconnected(tUSBHub *Hub, int Port);
25
26 #endif
27

UCC git Repository :: git.ucc.asn.au