A S / Mbed 2 deprecated aos_mbed

Dependencies:   C12832_lcd EthernetInterface USBHost mbed-rtos mbed wave_player

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers usb.h Source File

usb.h

00001 /* FILE: usb.h by Chu Van Thiem
00002 */
00003 #ifndef __USB_H__
00004 #define __USB_H__
00005 
00006 #include "USBHostMSD.h"
00007 #include "string"
00008 #include "vector"
00009 
00010 class usb : public USBHostMSD/*, public FATDirHandle*/ {
00011 public:
00012     // Constructor
00013     usb(const char * rootdir);
00014     
00015     // List all files of the directory
00016     void listdir(const char *dir);
00017     
00018 public:
00019     vector<string> filenames;
00020 };
00021 
00022 #endif