First draft of safety controller

This commit is contained in:
2020-07-27 21:29:15 +02:00
parent a04e894518
commit 4f3016649d
6 changed files with 41 additions and 8 deletions

View File

@@ -29,6 +29,7 @@
#include <reflow-controller/safety/safety-config.h>
#include <stdbool.h>
#include <stdint.h>
enum analog_monitor_status {ANALOG_MONITOR_OK = 0,
ANALOG_MONITOR_ERROR,
@@ -66,6 +67,8 @@ int safety_controller_get_flag(enum safety_flag flag, bool *status, bool try_ack
int safety_controller_ack_flag(enum safety_flag flag);
int safety_controller_ack_flag_with_key(enum safety_flag flag, uint32_t key);
#endif /* __SAFETY_CONTROLLER_H__ */
/** @} */