#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 |
Clear all the EEPROM memory.
Definition at line 24 of file EEStore.cpp.
|
static |
Restart the eeAddress pointer at the end of the EEStoreData.
Definition at line 134 of file EEStore.cpp.
|
static |
Gets the current EEPROM address.
Definition at line 139 of file EEStore.cpp.
|
static |
Move the EEPROM address of the given value.
inIncrement | number of bytes to shift. |
Definition at line 128 of file EEStore.cpp.
|
static |
Checks if numbers of accessories have changed which needs to store new states.
Definition at line 110 of file EEStore.cpp.
|
static |
Stores the current state of all accessories.
Definition at line 90 of file EEStore.cpp.
|
static |
Clears the content of the EEStoreData structure. This function does not change the EEPROM.
Definition at line 68 of file EEStore.cpp.
|
static |