doku newon / DokuUSBHostWithIso

Dependencies:   FATFileSystem mbed-rtos

Dependents:   Peach_AudioChannelDividerAndCompensator

Revision:
30:2851a9b2bbfb
Parent:
24:868cbfe611a7
Child:
32:176143a0f4de
diff -r d3b77affed28 -r 2851a9b2bbfb USBHost/USBHost.h
--- a/USBHost/USBHost.h	Tue Mar 31 16:15:42 2015 +0100
+++ b/USBHost/USBHost.h	Wed Apr 01 05:36:16 2015 +0000
@@ -126,6 +126,15 @@
     * @returns status of the enumeration
     */
     USB_TYPE enumerate(USBDeviceConnected * dev, IUSBEnumerator* pEnumerator);
+#if(1) /* Isochronous */
+    inline uint8_t * getConfDescrCurPtr() {
+        return &data[indexCnfdDescr];
+    };
+
+    inline uint16_t getConfDescrRestLen() {
+        return lenCnfdDescr - indexCnfdDescr;
+    };
+#endif
 
     /**
     * reset a specific device
@@ -235,6 +244,10 @@
     USBHost();
     static USBHost * instHost;
     uint16_t  lenReportDescr;
+#if(1) /* Isochronous */
+    uint16_t  lenCnfdDescr;
+    uint16_t  indexCnfdDescr;
+#endif
 
     // endpoints
     void unqueueEndpoint(USBEndpoint * ep) ;