|
| static byte | default_read (uint16_t address) |
| |
| static void | default_write (uint16_t address, byte value) |
| |
| static uint16_t | default_length (void) |
| |
| static uint16_t | default_write_size (const statuses ¤t) |
| |
| void | setStorageAPI (const storage_api_t &api) |
| | Inject the external storage API.
|
| |
| const storage_api_t & | getStorageAPI (void) |
| | Provide global access to the raw storage API.
|
| |
| bool | isEepromWritePending (void) |
| | Do we have page data that needs to be written to durable storage?
|
| |
| void | setEepromWritePending (bool isPending) |
| | Set or clear the Write Pending flag.
|
| |
| void | saveAllPages (void) |
| | Write all pages from RAM to durable storage.
|
| |
| static uint16_t | write_range (const byte *pStart, const byte *pEnd, uint16_t address, uint16_t writesRemaining) |
| |
| static write_location | write (const table_row_iterator &row, const write_location &location) |
| |
| static write_location | write (table_value_iterator it, write_location location) |
| |
| static write_location | write (table_axis_iterator it, write_location location) |
| |
| static uint16_t | writeTable (table3d_t *pTable, TableType key, uint16_t address, uint16_t writesRemaining) |
| |
| void | savePage (uint8_t pageNum) |
| | Write one page from RAM to durable storage.
|
| |
| static uint16_t | load_range (uint16_t address, byte *pFirst, const byte *pLast) |
| |
| static uint16_t | load (table_row_iterator row, uint16_t address) |
| |
| static uint16_t | load (table_value_iterator it, uint16_t address) |
| |
| static uint16_t | load (table_axis_iterator it, uint16_t address) |
| |
| static uint16_t | loadTable (table3d_t *pTable, TableType key, uint16_t address) |
| |
| void | loadAllPages (void) |
| | Load all pages from durable storage. I.e. load the tune.
|
| |
| void | loadAllCalibrationTables (void) |
| | Load the curves for all sensors from durable storage.
|
| |
| void | saveAllCalibrationTables (void) |
| | Store the curves for all sensors in durable storage.
|
| |
| void | saveCalibrationTable (SensorCalibrationTable sensor) |
| | Store one sensor curve in durable storage.
|
| |
| TESTABLE_INLINE_STATIC uint16_t | getSensorCalibrationCrcAddress (SensorCalibrationTable sensor) |
| |
| void | saveCalibrationCrc (SensorCalibrationTable sensor, uint32_t calibrationCRC) |
| | Store the CRC for one sensor curve in durable storage.
|
| |
| uint32_t | loadCalibrationCrc (SensorCalibrationTable sensor) |
| | Retrieve the CRC for one sensor curve from durable storage.
|
| |
| uint8_t | loadLastBaro (void) |
| | Last barometer reading cache.
|
| |
| void | saveLastBaro (uint8_t newValue) |
| | Last barometer reading cache.
|
| |
| uint8_t | loadEEPROMVersion (void) |
| | Save/load the version number of the storage layout.
|
| |
| void | saveEEPROMVersion (uint8_t newVersion) |
| | Save/load the version number of the storage layout.
|
| |
Lower level ConfigPage*, Table2D, Table3D and EEPROM storage operations.