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.
Dependents: KL46Z-lpc81isp lpcterm2
StorageInterface.h
00001 #pragma once 00002 00003 class StorageInterface { 00004 public: 00005 StorageInterface() { 00006 report_read_count = 0; 00007 report_write_count = 0; 00008 report_sectors_count = 0; 00009 report_size_count = 0; 00010 } 00011 virtual int storage_read(uint8_t* data, uint32_t block) = 0; 00012 virtual int storage_write(const uint8_t* data, uint32_t block) = 0; 00013 virtual uint32_t storage_sectors() = 0; 00014 virtual uint32_t storage_size() = 0; 00015 00016 __IO int report_read_count; 00017 __IO int report_write_count; 00018 __IO int report_sectors_count; 00019 __IO int report_size_count; 00020 };
Generated on Tue Jul 12 2022 19:39:32 by
1.7.2