手動機アーム、mbed基盤のspiをおくるだけのプログラムです(9/4)
Dependencies: SPI_master_arm_shudouki mbed
Fork of SPI_master_arm_shudouki2 by
Diff: FatFileSystem/FATDirHandle.h
- Revision:
- 0:76d1c7f13415
diff -r 000000000000 -r 76d1c7f13415 FatFileSystem/FATDirHandle.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FatFileSystem/FATDirHandle.h Mon Aug 21 08:49:06 2017 +0000 @@ -0,0 +1,29 @@ +/* Copyright 2008 ARM Limited. All rights reserved. */ + +#ifndef MBED_FATDIRHANDLE_H +#define MBED_FATDIRHANDLE_H + +#include "DirHandle.h" +#include "ff.h" + +namespace mbed { + +class FATDirHandle : public DirHandle { + + public: + FATDirHandle(const FATFS_DIR &the_dir); + virtual int closedir(); + virtual struct dirent *readdir(); + virtual void rewinddir(); + virtual off_t telldir(); + virtual void seekdir(off_t location); + + private: + FATFS_DIR dir; + struct dirent cur_entry; + +}; + +} + +#endif