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

Revision:
4:9a5878d316d5
Parent:
3:210eb67b260c
--- a/FATFileSystem/Interface/FATFileHandle.h	Mon Aug 23 07:12:13 2010 +0000
+++ b/FATFileSystem/Interface/FATFileHandle.h	Fri Aug 27 00:59:28 2010 +0000
@@ -1,30 +1,31 @@
-/* mbed Microcontroller Library - FATFileHandle
-   Copyright (c) 2008, sford */
-
-//Modified by Thomas Hamilton, Copyright 2010
-
-#ifndef MBED_FATFILEHANDLE_H
-#define MBED_FATFILEHANDLE_H
-
-#include "ff.h"
-#include "mbed.h"
-#include "FileHandle.h"
-#include <stdio.h>
-
-class FATFileHandle : public FileHandle
-{
-    private:
-        FAT_FIL FileObject;
-        
-    public:
-        FATFileHandle(FAT_FIL InputFilStr);
-        virtual ssize_t write(const void* buffer, size_t length);
-        virtual int close();
-        virtual ssize_t read(void* buffer, size_t length);
-        virtual int isatty();
-        virtual off_t lseek(off_t offset, int whence);
-        virtual int fsync();
-        virtual off_t flen();
-};
-
+/* mbed Microcontroller Library - FATFileHandle
+   Copyright (c) 2008, sford */
+
+//Modified by Thomas Hamilton, Copyright 2010
+
+#ifndef MBED_FATFILEHANDLE_H
+#define MBED_FATFILEHANDLE_H
+
+#include "stdint.h"
+#include "ff.h"
+#include "mbed.h"
+#include "FileHandle.h"
+#include <stdio.h>
+
+class FATFileHandle : public FileHandle
+{
+    private:
+        FAT_FIL FileObject;
+
+    public:
+        FATFileHandle(FAT_FIL InputFilStr);
+        virtual ssize_t write(const void* buffer, size_t length);
+        virtual int close();
+        virtual ssize_t read(void* buffer, size_t length);
+        virtual int isatty();
+        virtual off_t lseek(off_t offset, int whence);
+        virtual int fsync();
+        virtual off_t flen();
+};
+
 #endif
\ No newline at end of file