Simple USBHost library for STM32F746NG Discovery board. Only either the Fastspeed or the Highspeed port can be used( not both together)
Dependents: DISCO-F746NG_USB_Host
Fork of KL46Z-USBHost by
Diff: USBHostMSD/USBHostMSD.h
- Revision:
- 20:9827f135ccb6
- Parent:
- 14:b167f2b97cb7
- Child:
- 24:5396b6a93262
diff -r 47978c25c9b8 -r 9827f135ccb6 USBHostMSD/USBHostMSD.h --- a/USBHostMSD/USBHostMSD.h Sun Jul 20 11:00:24 2014 +0000 +++ b/USBHostMSD/USBHostMSD.h Sun May 10 09:55:16 2015 +0000 @@ -59,8 +59,8 @@ // From FATFileSystem virtual int disk_initialize(); virtual int disk_status() {return 0;}; - virtual int disk_read(uint8_t * buffer, uint64_t sector); - virtual int disk_write(const uint8_t * buffer, uint64_t sector); + virtual int disk_read(uint8_t * buffer, uint64_t sector, uint8_t count); + virtual int disk_write(const uint8_t * buffer, uint64_t sector, uint8_t count); virtual int disk_sync() {return 0;}; virtual uint64_t disk_sectors();