#include "EEStore.h"
Static Public Member Functions | |
static void | init () |
static void | reset () |
static int | pointer () |
static void | advance (int inIncrement) |
static bool | needsRefreshing () |
static void | store () |
static void | clear () |
Static Public Attributes | |
static EEStoreData | data |
static int | eeAddress =0 |
This structure/class stores accessories data in EEPROM.
The data is saved from byte 0 of EEPROM. The content is :
0--------------------------------------+----------+---------+---------+ | EEStoreData(see EEstoreData content) | Turnouts | Sensors | Outputs | +--------------------------------------+----------+---------+---------+
|
static |
Move the EEPROM address of the given value.
inIncrement | number of bytes to shift. |
Definition at line 130 of file EEStore.cpp.
|
static |
Clears the content of the EEStoreData structure. This function does not change the EEPROM.
Definition at line 70 of file EEStore.cpp.
|
static |
Clear all the EEPROM memory.
Definition at line 26 of file EEStore.cpp.
|
static |
Checks if numbers of accessories have changed which needs to store new states.
Definition at line 112 of file EEStore.cpp.
|
static |
Gets the current EEPROM address.
Definition at line 141 of file EEStore.cpp.
|
static |
Restart the eeAddress pointer at the end of the EEStoreData.
Definition at line 136 of file EEStore.cpp.
|
static |
Stores the current state of all accessories.
Definition at line 92 of file EEStore.cpp.
|
static |
|
static |