-- CHANGED -- To stop compilation errors I changed all *.c files to *.cpp. I have not tested this to see if it actually works. --- Updated FAT File System driver. Features include: * Updated to R0.09 - Sep 06, 2011 [[http://elm-chan.org/fsw/ff/00index_e.html]] * Bug fixes from Stéphane Bausseron ** [[http://mbed.org/forum/mbed/topic/2273/?page=1#comment-11521]] ** [[http://mbed.org/forum/mbed/topic/2307]] * Long filename support enabled and exposed through mbed SDK.
Fork of FatFileSystem by
FATDirHandle.h
00001 /* mbed Microcontroller Library - FATDirHandle 00002 * Copyright (c) 2008, sford 00003 */ 00004 00005 #ifndef MBED_FATDIRHANDLE_H 00006 #define MBED_FATDIRHANDLE_H 00007 00008 #include "DirHandle.h" 00009 #include "ff.h" 00010 00011 namespace mbed { 00012 00013 class FATDirHandle : public DirHandle { 00014 00015 public: 00016 FATDirHandle(const FATFS_DIR &the_dir); 00017 virtual int closedir(); 00018 virtual struct dirent *readdir(); 00019 virtual void rewinddir(); 00020 virtual off_t telldir(); 00021 virtual void seekdir(off_t location); 00022 00023 private: 00024 FATFS_DIR dir; 00025 struct dirent cur_entry; 00026 00027 }; 00028 00029 } 00030 00031 #endif
Generated on Sun Jul 24 2022 09:26:29 by 1.7.2