SD Card Interface class. Log raw data bytes to memory addresses of your choice, or format the card and use the FAT file system to write files.
Diff: FATFileSystem/Interface/FATDirHandle.h
- Revision:
- 4:9a5878d316d5
- Parent:
- 3:210eb67b260c
diff -r 210eb67b260c -r 9a5878d316d5 FATFileSystem/Interface/FATDirHandle.h --- a/FATFileSystem/Interface/FATDirHandle.h Mon Aug 23 07:12:13 2010 +0000 +++ b/FATFileSystem/Interface/FATDirHandle.h Fri Aug 27 00:59:28 2010 +0000 @@ -1,29 +1,30 @@ -/* mbed Microcontroller Library - FATDirHandle - Copyright (c) 2008, sford */ - -//Modified by Thomas Hamilton, Copyright 2010 - -#ifndef MBED_FATDIRHANDLE_H -#define MBED_FATDIRHANDLE_H - -#include "ff.h" -#include "mbed.h" -#include "DirHandle.h" -#include <stdio.h> - -class FATDirHandle : public DirHandle -{ - private: - FAT_DIR DirectoryObject; - struct dirent CurrentEntry; - - public: - FATDirHandle(FAT_DIR InputDirStr); - virtual int closedir(); - virtual struct dirent* readdir(); - virtual void rewinddir(); - virtual off_t telldir(); - virtual void seekdir(off_t location); -}; - +/* mbed Microcontroller Library - FATDirHandle + Copyright (c) 2008, sford */ + +//Modified by Thomas Hamilton, Copyright 2010 + +#ifndef MBED_FATDIRHANDLE_H +#define MBED_FATDIRHANDLE_H + +#include "stdint.h" +#include "ff.h" +#include "mbed.h" +#include "DirHandle.h" +#include <stdio.h> + +class FATDirHandle : public DirHandle +{ + private: + FAT_DIR DirectoryObject; + struct dirent CurrentEntry; + + public: + FATDirHandle(FAT_DIR InputDirStr); + virtual int closedir(); + virtual struct dirent* readdir(); + virtual void rewinddir(); + virtual off_t telldir(); + virtual void seekdir(off_t location); +}; + #endif \ No newline at end of file