Modules/USB - Working on driver support, little headache
[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
22 extern void     USB_DeviceConnected(tUSBHub *Hub, int Port);
23 extern void     USB_DeviceDisconnected(tUSBHub *Hub, int Port);
24
25 #endif
26

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