3 * - By John Hodge (thePowersGang)
6 * - USB Host Controller Interface
14 typedef struct sUSBHostDef tUSBHostDef;
16 typedef void (*tUSBHostCb)(void *DataPtr, void *Data, int Length);
18 typedef void *(*tUSBHostOp)(void *Ptr, int Dest, int DataTgl, tUSBHostCb CB, void *CbData, void *Data, size_t Length);
21 * \brief Defines a USB Host Controller type
30 * \brief Check if an operation has completed
31 * \note Only valid to call if CB passed was ERRPTR
33 int (*IsOpComplete)(void *Ptr, void *OpPtr);
35 void (*CheckPorts)(void *Ptr);
38 extern tUSBHub *USB_RegisterHost(tUSBHostDef *HostDef, void *ControllerPtr, int nPorts);