Add CRC monitoring over ADC registers

This commit is contained in:
2021-07-23 20:06:09 +02:00
parent 6e89c0e098
commit e4ebf9ec3f
5 changed files with 208 additions and 1 deletions

View File

@@ -274,6 +274,14 @@ float safety_controller_get_overtemp_limit(void);
*/
int safety_controller_trigger_flash_crc_check(void);
/**
* @brief Recalculate the CRC of a given CRC Monitor. This has to be done once the supervised registers update
* @param mon Monitor to recalculate
* @param password Password
* @return 0 if successful
*/
int safety_controller_set_crc_monitor(enum crc_monitor mon, uint32_t password);
#endif /* __SAFETY_CONTROLLER_H__ */
/** @} */