Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBHost_DISCO-F746NG by
Diff: USBHost/USBHost.h
- Revision:
- 24:5396b6a93262
- Parent:
- 18:61554f238584
- Child:
- 25:7d6d9fc471bf
--- a/USBHost/USBHost.h Sun May 01 03:18:11 2016 +0000 +++ b/USBHost/USBHost.h Mon Jun 13 17:21:07 2016 +0000 @@ -32,7 +32,7 @@ /** * Static method to create or retrieve the single USBHost instance */ - static USBHost* getHostInst(); + static USBHost* getHostInst(int IF_Number); /** * Control read: setup stage, data stage and status stage @@ -172,7 +172,7 @@ static void poll(); private: - USBHost(); + USBHost(int InterfaceNumber); static USBHost* inst; virtual bool addDevice(USBDeviceConnected* parent, int port, bool lowSpeed); void root_enumeration(USBDeviceConnected* dev);