// // Created by cfif on 07.10.22. // #ifndef STORAGES_H #define STORAGES_H #include "EraGlonassUveos.h" #include "DeviceDataNonVolatile.h" #include "DeviceDataRuntime.h" #include "VarsTabDumpObserver.h" typedef struct { tLoggerInterface *logger; tDeviceDataRuntime runtime; tDeviceDataNonVolatile nvm; tVariablesTable publicVariablesTable; tVarsTabDumpObserver dumpObserver; tEraGlonassUveosDumperInterface uveosDumper; struct { tVariableDescriptor vartab[80]; } mem; } tDeviceStorage; bool DeviceStorage_Init(tDeviceStorage *env, tStorageInterface *storageInterface); //использоввать только для отладки void DeviceStorage_InitDefaults(tDeviceStorage *env); void DeviceStorage_ForceDump(tDeviceStorage *env); #endif //STORAGES_H