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.

Dependencies:   mbed

FATFileSystem/Interface/FATDirHandle.h

Committer:
Blaze513
Date:
2011-01-16
Revision:
6:ddf09d859ed7
Parent:
4:9a5878d316d5

File content as of revision 6:ddf09d859ed7:

/* 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