-- 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.

Dependents:   WAVEplayer_fix

Fork of FatFileSystem by Adam Green

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers FATDirHandle.h Source File

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