/** * TODO file description */ #ifndef BLUEPILLTROUBA_APP_SAFETY_H #define BLUEPILLTROUBA_APP_SAFETY_H /** * Check the pass flags. If all are set, reset the WD and clear flags. * * This effectively makes the WD bite when either of the subsystems fails. */ void app_safety_poll(); void app_emergency_stop() __attribute__((noreturn)); void app_safety_pass_temp_normal(); void app_safety_pass_adc_sampling(); void app_safety_pass_temp_calculation(); void app_safety_pass_reg_loop_running(); void app_safety_pass_display_updating(); void app_safety_pass_soc_temp_ok(); #endif //BLUEPILLTROUBA_APP_SAFETY_H