USBMSD SD card Hello World for Mbed platforms
Dependencies: mbed USBMSD_SD USBDevice
Diff: ChaNFSSD/SDFileSystem.h
- Revision:
- 14:757226626acb
- Parent:
- 13:32b8a767cf0e
- Child:
- 16:c753717bfd4d
diff -r 32b8a767cf0e -r 757226626acb ChaNFSSD/SDFileSystem.h --- a/ChaNFSSD/SDFileSystem.h Mon Dec 05 14:34:29 2011 +0000 +++ b/ChaNFSSD/SDFileSystem.h Tue Dec 06 12:07:12 2011 +0000 @@ -60,6 +60,8 @@ virtual int disk_sync(); virtual int disk_sectors(); virtual int disk_size(); + + virtual void suspendStateChanged(unsigned int suspended); protected: @@ -78,6 +80,8 @@ int capacity; + int _status; + SPI _spi; DigitalOut _cs; };