|
SlotNVM
0.1.0
|
Use this as base for your NVM access class. More...
#include <NVMBase.h>
Public Member Functions | |
| virtual nvm_address_t | getSize ()=0 |
| currently not needed | |
| virtual bool | needErase ()=0 |
| currently not needed | |
| virtual bool | erase (nvm_address_t start, nvm_size_t len)=0 |
| currently not needed | |
| virtual bool | read (nvm_address_t addr, uint8_t &data)=0 |
| read one byte | |
| virtual bool | read (nvm_address_t addr, uint8_t *data, nvm_size_t len)=0 |
| read a byte block | |
| virtual bool | write (nvm_address_t addr, uint8_t data)=0 |
| write one byte | |
| virtual bool | write (nvm_address_t addr, const uint8_t *data, nvm_size_t len)=0 |
| write a byte block | |
Static Public Attributes | |
| static const nvm_size_t | S_SIZE = 0 |
Use this as base for your NVM access class.
You do not need to derive form this class, just use the same members.
1.8.13