10#ifndef SEMF_APP_STORAGE_FLASH_H_
11#define SEMF_APP_STORAGE_FLASH_H_
33 virtual void erase(
size_t sector,
size_t numOfSectors = 1) = 0;
Signal for lightweight signal/slot implementation. One signal can be connected to multiple slots and ...
Interface for flash storage.
virtual uint32_t address(size_t sector) const =0
Return on which address a sector starts.
virtual void erase(size_t sector, size_t numOfSectors=1)=0
Erase sector(s).
virtual size_t sector(uint32_t address) const =0
Return in which sector an address is located.
virtual size_t numberOfSectors() const =0
Return the number/amount of sectors of a flash memory.
virtual size_t sectorSize(size_t sector) const =0
Return the size of a sector in bytes.
Interface for using storage memories/devices (e.g. FLASH or EEPROM).