User Documentation
SafetyManager matches the lifecycle::LifecycleComponent and it has to be connected to a lifecycle component, like the SafetySystem as demonstrated in the ReferenceApp.
/**
* Initializes the counter used for cyclic checks with 0.
*/
SafetyManager();
/**
* Initializes the safety relevant components. Enables the watchdog, initializes Memory
* protection unit and Rom check. It is called from the safety task.
*/
void init();
void run();
void shutdown();
/**
* Enables and disables the write access to the protected RAM region using the scoped unlock
* because only safety relevant software can write to the safety RAM region. Services the
* watchdog every 80ms by calling cyclic method of safeWatchdog. Calls the cyclic function of
* SafeMemory.
*/
void cyclic();