|
NinjaFlight
|
#include <stdbool.h>#include <stdint.h>#include <string.h>#include <platform.h>#include "debug.h"#include "common/axis.h"#include "drivers/system.h"#include "rx/rx.h"#include "io/beeper.h"#include "config/config.h"#include "flight/failsafe.h"#include "../ninjaflight.h"
Functions | |
| void | failsafe_reset (struct failsafe *self) |
| void | failsafe_init (struct failsafe *self, struct ninja *ninja, const struct config const *config) |
| failsafePhase_e | failsafe_get_state (struct failsafe *self) |
| bool | failsafe_is_monitoring (struct failsafe *self) |
| bool | failsafe_is_active (struct failsafe *self) |
| void | failsafe_start_monitoring (struct failsafe *self) |
| bool | failsafe_is_receiving_rx (struct failsafe *self) |
| void | failsafe_on_rx_suspend (struct failsafe *self, uint32_t usSuspendPeriod) |
| void | failsafe_on_rx_resume (struct failsafe *self) |
| void | failsafe_on_valid_data_received (struct failsafe *self) |
| void | failsafe_on_valid_data_failed (struct failsafe *self) |
| void | failsafe_update (struct failsafe *self) |
| failsafePhase_e failsafe_get_state | ( | struct failsafe * | self | ) |
| void failsafe_init | ( | struct failsafe * | self, |
| struct ninja * | ninja, | ||
| const struct config const * | config | ||
| ) |

| bool failsafe_is_active | ( | struct failsafe * | self | ) |
| bool failsafe_is_monitoring | ( | struct failsafe * | self | ) |
| bool failsafe_is_receiving_rx | ( | struct failsafe * | self | ) |
| void failsafe_on_rx_resume | ( | struct failsafe * | self | ) |
| void failsafe_on_rx_suspend | ( | struct failsafe * | self, |
| uint32_t | usSuspendPeriod | ||
| ) |
| void failsafe_on_valid_data_failed | ( | struct failsafe * | self | ) |
| void failsafe_on_valid_data_received | ( | struct failsafe * | self | ) |
| void failsafe_reset | ( | struct failsafe * | self | ) |
| void failsafe_start_monitoring | ( | struct failsafe * | self | ) |
| void failsafe_update | ( | struct failsafe * | self | ) |