![]() |
Paparazzi UAS
v6.2.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Simulator implementation for spektrum radio control. More...
#include "modules/radio_control/radio_control.h"
#include "modules/radio_control/spektrum.h"
#include "modules/core/abi.h"
#include "std.h"
#include <inttypes.h>
#include <caml/mlvalues.h>
Go to the source code of this file.
Functions | |
void | spektrum_init (void) |
void | spektrum_event (void) |
void | spektrum_try_bind (void) |
value | update_rc_channel (value c, value v) |
value | send_ppm (value unit) |
Variables | |
static bool | spektrum_available |
Simulator implementation for spektrum radio control.
Definition in file spektrum_arch.c.
value send_ppm | ( | value | unit | ) |
Definition at line 92 of file spektrum_arch.c.
References spektrum_available, and unit.
void spektrum_event | ( | void | ) |
Definition at line 48 of file spektrum_arch.c.
References RadioControl::frame_cpt, radio_control, RADIO_CONTROL_SPEKTRUM_ID, RC_OK, spektrum_available, RadioControl::status, and RadioControl::time_since_last_frame.
void spektrum_init | ( | void | ) |
Definition at line 43 of file spektrum_arch.c.
References spektrum_available.
void spektrum_try_bind | ( | void | ) |
Definition at line 59 of file spektrum_arch.c.
value update_rc_channel | ( | value | c, |
value | v | ||
) |
Definition at line 78 of file spektrum_arch.c.
References MAX_PPRZ, radio_control, and RadioControl::values.
|
static |
Definition at line 41 of file spektrum_arch.c.
Referenced by send_ppm(), spektrum_event(), and spektrum_init().