![]() |
Speeduino
|
Used internally by the board to create storage_api_t instances. More...
#include "storage_api.h"Go to the source code of this file.
Namespaces | |
| namespace | EEPROMApi |
Functions | |
| static byte | EEPROMApi::read (uint16_t address) |
| static void | EEPROMApi::write (uint16_t address, byte val) |
| static uint16_t | EEPROMApi::length (void) |
| storage_api_t | getEEPROMStorageApi (uint16_t(*getMaxWriteBlockSize)(const statuses &)) |
| Get the EEPROM storage API for the board. | |
Used internally by the board to create storage_api_t instances.
This is not intended for use by user code.
It's only purpose is to reduce code duplication between the different board files, as the implementation of the storage API is mostly the same across boards.
It is assumed that a global instance named EEPROM is available prior to including this file.
| storage_api_t getEEPROMStorageApi | ( | uint16_t(*)(const statuses &) | getMaxWriteBlockSize | ) |
Get the EEPROM storage API for the board.
