You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
618 B
30 lines
618 B
/**
|
|
* 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
|
|
|