Updated get_fattime to use rtc and provide a date/time. This has been an annoying missing feature.
Dependents: IoTGateway_Basic y_XBeeTest_5_read CameraC1098_picture LifeCam ... more
FATFileHandle.h
- Committer:
- SomeRandomBloke
- Date:
- 2012-03-30
- Revision:
- 0:93acdd9f65f4
File content as of revision 0:93acdd9f65f4:
/* mbed Microcontroller Library - FATFileHandle * Copyright (c) 2008, sford */ #ifndef MBED_FATFILEHANDLE_H #define MBED_FATFILEHANDLE_H #include "FileHandle.h" #include "ff.h" namespace mbed { class FATFileHandle : public FileHandle { public: FATFileHandle(FIL fh); virtual int close(); virtual ssize_t write(const void* buffer, size_t length); virtual ssize_t read(void* buffer, size_t length); virtual int isatty(); virtual off_t lseek(off_t position, int whence); virtual int fsync(); virtual off_t flen(); protected: FIL _fh; }; } #endif