USBHost library. NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.
Dependencies: FATFileSystem mbed-rtos
Dependents: BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more
Legacy Warning
This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.
Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.
Diff: USBHostHub/USBHostHub.cpp
- Revision:
- 27:4206883f4cb7
- Parent:
- 24:868cbfe611a7
- Child:
- 37:f1e388e7b752
--- a/USBHostHub/USBHostHub.cpp Mon Aug 18 13:45:26 2014 +0100 +++ b/USBHostHub/USBHostHub.cpp Mon Jan 19 14:30:37 2015 +0000 @@ -222,6 +222,9 @@ uint32_t status; USB_DBG("reset port %d on hub: %p [this: %p]", port, dev, this) setPortFeature(PORT_RESET_FEATURE, port); +#if defined(TARGET_RZ_A1H) + Thread::wait(50); // Reset release waiting for Hi-Speed check. +#endif while(1) { status = getPortStatus(port); if (status & (PORT_ENABLE | PORT_RESET))