Issue #26: Add configuration for overtemperature flag to safety controller and include the config in the memory checking

This commit is contained in:
2021-02-02 20:35:45 +01:00
parent 64bb06882f
commit 50ad31d58a
4 changed files with 92 additions and 1 deletions

View File

@@ -129,6 +129,11 @@ enum analog_value_monitor {
#define SAFETY_EXT_WATCHDOG_RCC_MASK RCC_AHB1ENR_GPIODEN
#define SAFETY_EXT_WATCHDOG_PIN (12)
/**
* @brief Default Limit of the overtemperature detection
*/
#define SAFETY_DEFAULT_OVERTEMP_LIMIT_DEGC (260.0f)
/**
* @brief Key used to lock the safety flags coming from the measurment ADC from external ack'ing
*/