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/USBHost.h
- Revision:
- 25:7d6d9fc471bf
- Parent:
- 24:5396b6a93262
--- a/USBHost/USBHost.h Mon Jun 13 17:21:07 2016 +0000 +++ b/USBHost/USBHost.h Fri Jun 17 09:00:35 2016 +0000 @@ -173,7 +173,8 @@ private: USBHost(int InterfaceNumber); - static USBHost* inst; + static USBHost* inst_0; + static USBHost* inst_1; virtual bool addDevice(USBDeviceConnected* parent, int port, bool lowSpeed); void root_enumeration(USBDeviceConnected* dev); void parseConfDescr(USBDeviceConnected* dev, uint8_t* conf_descr, uint32_t len, IUSBEnumerator* pEnumerator);