This module saves/restores the state information for each module/client.
More...
The storage has to be initialized before use and the callbacks state_storage_client_t::InitStatesFromStorage and state_storage_client_t::RefreshStates need to be defined for each client. The following code is a sample method for using this module effectively.
client.dataWordLen = xxxxx;
client.InitStatesFromStorage = xxxxx;
client.RefreshStates = xxxxx;
storage.clientCount = xxxxx;
void StateStorage_Refresh(void)
Refreshes the storage state if required.
Definition state_storage_lib.c:394
void StateStorage_Init(state_storage_config_t *_config)
This function initializes the state storage according to the application requirements.
Definition state_storage_lib.c:283