Simple USBHost library for STM32F746NG Discovery board. Only either the Fastspeed or the Highspeed port can be used( not both together)
Dependents: DISCO-F746NG_USB_Host
Fork of KL46Z-USBHost by
Diff: USBHost/USBHALHost.h
- Revision:
- 10:40c7f6788902
- Parent:
- 8:6463cd1964c0
- Child:
- 11:61843badd06e
diff -r 7f9f64cf5ded -r 40c7f6788902 USBHost/USBHALHost.h --- a/USBHost/USBHALHost.h Mon Feb 03 13:00:16 2014 +0000 +++ b/USBHost/USBHALHost.h Wed Feb 05 13:34:37 2014 +0000 @@ -49,7 +49,7 @@ protected: USBHALHost(); void init(); - virtual bool addDevice(int port, int hub, bool lowSpeed) = 0; + virtual bool addDevice(USBDeviceConnected* parent, int port, bool lowSpeed) = 0; void setAddr(int addr, bool lowSpeed = false); void setEndpoint(); void token_transfer_init();