JEK changes enabling proper recording of IMU/GPS datastrams - 02-APR-2013
Fork of GPS_Incremental by
FatFileSystem/FATDirHandle.h@9:b45feb91ba38, 2013-04-19 (annotated)
- Committer:
- jekain314
- Date:
- Fri Apr 19 16:21:27 2013 +0000
- Revision:
- 9:b45feb91ba38
- Parent:
- 0:c746ee34feae
update to allow better imu gps data collection
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dannyman939 | 0:c746ee34feae | 1 | /* mbed Microcontroller Library - FATDirHandle |
dannyman939 | 0:c746ee34feae | 2 | * Copyright (c) 2008, sford |
dannyman939 | 0:c746ee34feae | 3 | */ |
dannyman939 | 0:c746ee34feae | 4 | |
dannyman939 | 0:c746ee34feae | 5 | #ifndef MBED_FATDIRHANDLE_H |
dannyman939 | 0:c746ee34feae | 6 | #define MBED_FATDIRHANDLE_H |
dannyman939 | 0:c746ee34feae | 7 | |
dannyman939 | 0:c746ee34feae | 8 | #include "DirHandle.h" |
dannyman939 | 0:c746ee34feae | 9 | #include "ff.h" |
dannyman939 | 0:c746ee34feae | 10 | |
dannyman939 | 0:c746ee34feae | 11 | namespace mbed { |
dannyman939 | 0:c746ee34feae | 12 | |
dannyman939 | 0:c746ee34feae | 13 | class FATDirHandle : public DirHandle { |
dannyman939 | 0:c746ee34feae | 14 | |
dannyman939 | 0:c746ee34feae | 15 | public: |
dannyman939 | 0:c746ee34feae | 16 | FATDirHandle(const FATFS_DIR &the_dir); |
dannyman939 | 0:c746ee34feae | 17 | virtual int closedir(); |
dannyman939 | 0:c746ee34feae | 18 | virtual struct dirent *readdir(); |
dannyman939 | 0:c746ee34feae | 19 | virtual void rewinddir(); |
dannyman939 | 0:c746ee34feae | 20 | virtual off_t telldir(); |
dannyman939 | 0:c746ee34feae | 21 | virtual void seekdir(off_t location); |
dannyman939 | 0:c746ee34feae | 22 | |
dannyman939 | 0:c746ee34feae | 23 | private: |
dannyman939 | 0:c746ee34feae | 24 | FATFS_DIR dir; |
dannyman939 | 0:c746ee34feae | 25 | struct dirent cur_entry; |
dannyman939 | 0:c746ee34feae | 26 | |
dannyman939 | 0:c746ee34feae | 27 | }; |
dannyman939 | 0:c746ee34feae | 28 | |
dannyman939 | 0:c746ee34feae | 29 | } |
dannyman939 | 0:c746ee34feae | 30 | |
dannyman939 | 0:c746ee34feae | 31 | #endif |