![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
主導機 mbed用のプログラムです 改良しました
Dependencies: mbed
Fork of F3RC_syudou_master by
FatFileSystem/FATFileHandle.h
- Committer:
- yuto17320508
- Date:
- 2017-08-23
- Revision:
- 19:a3f57c9833b6
- Parent:
- 0:736c76a75def
File content as of revision 19:a3f57c9833b6:
/* 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