|
rusEFI
The most advanced open source ECU
|
NVRAM emulation using Internal Flash (flash_int driver)
Definition in file backup_ram.cpp.
Functions | |
| static void | backupInit () |
| uint32_t | backupRamLoad (backup_ram_e idx) |
| void | backupRamSave (backup_ram_e idx, uint32_t value) |
| void | backupRamFlush (void) |
Variables | |
| static volatile uint32_t | backupRam [(int) LAST_BACKUP_RAM_ENUM+1] |
| static bool | wasLoaded = false |
| static const int | backupStateOffset = 0 |
| static const int | backupDataOffset = 1 |
| const size_t | backupSize = ((int)LAST_BACKUP_RAM_ENUM + 1) * sizeof(uint32_t) |
|
static |
Definition at line 23 of file backup_ram.cpp.
Referenced by backupRamLoad(), and backupRamSave().


| void backupRamFlush | ( | void | ) |
Definition at line 61 of file backup_ram.cpp.
| uint32_t backupRamLoad | ( | backup_ram_e | idx | ) |
Definition at line 43 of file backup_ram.cpp.
| void backupRamSave | ( | backup_ram_e | idx, |
| uint32_t | value | ||
| ) |
Definition at line 52 of file backup_ram.cpp.
|
static |
Definition at line 20 of file backup_ram.cpp.
Referenced by backupRamLoad(), and backupRamSave().
|
static |
Definition at line 17 of file backup_ram.cpp.
Referenced by backupInit(), backupRamFlush(), backupRamLoad(), and backupRamSave().
| const size_t backupSize = ((int)LAST_BACKUP_RAM_ENUM + 1) * sizeof(uint32_t) |
Definition at line 21 of file backup_ram.cpp.
Referenced by backupInit(), and backupRamFlush().
|
static |
Definition at line 20 of file backup_ram.cpp.
Referenced by backupInit(), and backupRamFlush().
|
static |
Definition at line 18 of file backup_ram.cpp.
Referenced by backupInit(), backupRamFlush(), backupRamLoad(), and backupRamSave().