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.

Revision:
4:b320d68e98e7
Parent:
3:0f5c32575eb8
Child:
8:93da8ea2708b
--- a/USBHostMSD/USBHostMSD.h	Wed Mar 06 17:50:07 2013 +0000
+++ b/USBHostMSD/USBHostMSD.h	Tue Mar 12 17:23:37 2013 +0000
@@ -72,6 +72,7 @@
     bool dev_connected;
     USBEndpoint * bulk_in;
     USBEndpoint * bulk_out;
+    uint8_t nb_ep;
 
     // Bulk-only CBW
     typedef __packed struct {
@@ -102,6 +103,7 @@
     int SCSIRequestSense();
     int dataTransfer(uint8_t * buf, uint32_t block, uint8_t nbBlock, int direction);
     int checkResult(uint8_t res, USBEndpoint * ep);
+    int getMaxLun();
 
     int blockSize;
     uint64_t blockCount;
@@ -117,4 +119,3 @@
 #endif
 
 #endif
-