add isochronous transfer interface for LogitechC270(USBHostC270)

Dependencies:   FATFileSystem mbed-rtos

Dependents:   USBHostC210_example USBHostC270_example GSwifi_ap_webcam n-bed-USBHostC270_example

Fork of USBHost by mbed official

Revision:
10:5cc7bad4f28e
Parent:
8:93da8ea2708b
--- a/USBHost/USBHALHost.cpp	Thu Mar 14 14:20:03 2013 +0000
+++ b/USBHost/USBHALHost.cpp	Sat Mar 16 13:05:41 2013 +0000
@@ -232,6 +232,12 @@
     return NULL; //Could not alloc TD
 }
 
+bool USBHALHost::isTD(volatile uint8_t* td) {
+    if (td >= usb_tdBuf && td < (usb_tdBuf+TD_SIZE*MAX_TD)) {
+        return true;
+    }
+    return false;
+}
 
 void USBHALHost::freeED(volatile uint8_t * ed) {
     int i;