I added the Isochronous to USBHost library. The Isochronous code based on the following. http://developer.mbed.org/users/va009039/code/USBHostC270_example/
Dependencies: FATFileSystem mbed-rtos
Fork of USBHost_AddIso by
Diff: USBHost/USBHALHost_RZ_A1.cpp
- Revision:
- 31:271fcfd7cfc2
- Parent:
- 30:2851a9b2bbfb
--- a/USBHost/USBHALHost_RZ_A1.cpp Wed Apr 01 05:36:16 2015 +0000 +++ b/USBHost/USBHALHost_RZ_A1.cpp Wed Sep 30 05:52:33 2015 +0000 @@ -269,17 +269,7 @@ //Root device disconnected else { - - if (!(int_status & OR_INTR_STATUS_WDH)) { - usb_hcca->DoneHead = 0; - } - deviceDisconnected(0, 1, NULL, usb_hcca->DoneHead & 0xFFFFFFFE); - - if (int_status & OR_INTR_STATUS_WDH) { - usb_hcca->DoneHead = 0; - ohciwrapp_reg_w(OHCI_REG_INTERRUPTSTATUS, OR_INTR_STATUS_WDH); - } } } ohciwrapp_reg_w(OHCI_REG_RHPORTSTATUS1, OR_RH_PORT_CSC);