Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Smoothie by
SDFAT.h
00001 #ifndef _SDFAT_H 00002 #define _SDFAT_H 00003 00004 #include "disk.h" 00005 #include "FATFileSystem.h" 00006 00007 class SDFAT : public mbed::FATFileSystem { 00008 public: 00009 SDFAT(const char *n, MSD_Disk *disk); 00010 00011 virtual int disk_initialize(); 00012 virtual int disk_status(); 00013 virtual int disk_read(char *buffer, int sector); 00014 virtual int disk_write(const char *buffer, int sector); 00015 virtual int disk_sync(); 00016 virtual int disk_sectors(); 00017 00018 protected: 00019 MSD_Disk *d; 00020 }; 00021 00022 #endif /* _SDFAT_H */
Generated on Tue Jul 12 2022 20:09:02 by
1.7.2
