test for export
Dependents: F401RE_USBMSD_RAM_copy
Fork of RAM_DISK by
Diff: USBMSD_Ram.h
- Revision:
- 2:ee281ece9011
- Parent:
- 1:3d0c421fe52b
--- a/USBMSD_Ram.h Thu May 16 09:19:46 2013 +0000 +++ b/USBMSD_Ram.h Sun Nov 09 03:01:44 2014 +0000 @@ -27,13 +27,13 @@ #define NB_SECTORS (20) -/** Use the SDcard as mass storage device using the USBMSD class +/** Use the Ram as mass storage device using the USBMSD class * * @code * #include "mbed.h" * #include "USBMSD_Ram.h" * - * USBMSD_Ram sd(p5, p6, p7, p8); + * USBMSD_Ram sd; * * int main() { * while(1); @@ -47,8 +47,8 @@ USBMSD_Ram(); virtual int disk_initialize(); - virtual int disk_write(const uint8_t * data, uint64_t block); - virtual int disk_read(uint8_t * data, uint64_t block); + virtual int disk_write(const uint8_t * data, uint64_t block, uint8_t count); + virtual int disk_read(uint8_t * data, uint64_t block, uint8_t count); virtual int disk_status(); virtual int disk_sync(); virtual uint64_t disk_sectors();