Support Isochronous transfer additionally

Dependents:   USBHostC270_example_GR-PEACH USBHostDac_example USBHostDac_Audio_in_out

Fork of USBHost_custom by Renesas

Revision:
41:5c3ebf7372ee
Parent:
35:f72ccc6892ee
--- a/USBHost/USBHALHost_RZ_A1.cpp	Fri Mar 17 01:29:52 2017 +0000
+++ b/USBHost/USBHALHost_RZ_A1.cpp	Fri Apr 21 07:23:33 2017 +0000
@@ -204,6 +204,14 @@
     return NULL; //Could not alloc TD
 }
 
+#if(1) /* Isochronous */
+bool USBHALHost::isTD(volatile uint8_t* td) {
+    if (td >= usb_tdBuf && td < (usb_tdBuf+TD_SIZE*MAX_TD)) {
+        return true;
+    }
+    return false;
+}
+#endif
 
 void USBHALHost::freeED(volatile uint8_t * ed) {
     int i;