PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | CBRK_SUPPLY_CHK_KEY 894281 |
#define | CBRK_RATE_CTRL_KEY 140253 |
#define | CBRK_IO_SAFETY_KEY 22027 |
#define | CBRK_AIRSPD_CHK_KEY 162128 |
#define | CBRK_FLIGHTTERM_KEY 121212 |
#define | CBRK_ENGINEFAIL_KEY 284953 |
#define | CBRK_GPSFAIL_KEY 240024 |
#define | CBRK_USB_CHK_KEY 197848 |
#define | CBRK_VELPOSERR_KEY 201607 |
Functions | |
__BEGIN_DECLS __EXPORT bool | circuit_breaker_enabled (const char *breaker, int32_t magic) |
__EXPORT bool | circuit_breaker_enabled_by_val (int32_t breaker_val, int32_t magic) |
#define CBRK_AIRSPD_CHK_KEY 162128 |
Definition at line 55 of file circuit_breaker.h.
Referenced by Commander::get_circuit_breaker_params().
#define CBRK_ENGINEFAIL_KEY 284953 |
Definition at line 57 of file circuit_breaker.h.
Referenced by Commander::get_circuit_breaker_params().
#define CBRK_FLIGHTTERM_KEY 121212 |
Definition at line 56 of file circuit_breaker.h.
Referenced by Commander::get_circuit_breaker_params(), and PX4IO::task_main().
#define CBRK_GPSFAIL_KEY 240024 |
Definition at line 58 of file circuit_breaker.h.
Referenced by Commander::get_circuit_breaker_params().
#define CBRK_IO_SAFETY_KEY 22027 |
Definition at line 54 of file circuit_breaker.h.
Referenced by PX4IO::init(), PX4IO::task_main(), and SafetyButton::task_spawn().
#define CBRK_RATE_CTRL_KEY 140253 |
Definition at line 53 of file circuit_breaker.h.
Referenced by MulticopterRateControl::parameters_updated().
#define CBRK_SUPPLY_CHK_KEY 894281 |
Definition at line 52 of file circuit_breaker.h.
Referenced by Commander::get_circuit_breaker_params().
#define CBRK_USB_CHK_KEY 197848 |
Definition at line 59 of file circuit_breaker.h.
Referenced by Commander::get_circuit_breaker_params().
#define CBRK_VELPOSERR_KEY 201607 |
Definition at line 60 of file circuit_breaker.h.
Referenced by Commander::get_circuit_breaker_params().
__BEGIN_DECLS __EXPORT bool circuit_breaker_enabled | ( | const char * | breaker, |
int32_t | magic | ||
) |
Definition at line 51 of file circuit_breaker.cpp.
References param_find(), and param_get().
Referenced by PX4IO::init(), ToneAlarm::start_note(), PX4IO::task_main(), and SafetyButton::task_spawn().
__EXPORT bool circuit_breaker_enabled_by_val | ( | int32_t | breaker_val, |
int32_t | magic | ||
) |
Definition at line 58 of file circuit_breaker.cpp.
Referenced by Commander::get_circuit_breaker_params(), and MulticopterRateControl::parameters_updated().