Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Simulator implementation for spektrum radio control. More...
#include "subsystems/radio_control.h"
#include "subsystems/radio_control/spektrum_arch.h"
#include "std.h"
#include <inttypes.h>
#include <caml/mlvalues.h>
Go to the source code of this file.
Functions | |
void | radio_control_impl_init (void) |
void | spektrum_event (void(*frame_handler)(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.
void radio_control_impl_init | ( | void | ) |
Definition at line 42 of file spektrum_arch.c.
Referenced by radio_control_init().
value send_ppm | ( | value | unit | ) |
Definition at line 90 of file spektrum_arch.c.
References spektrum_available, and unit.
void spektrum_event | ( | void(*)(void) | frame_handler | ) |
Definition at line 46 of file spektrum_arch.c.
void spektrum_try_bind | ( | void | ) |
Definition at line 57 of file spektrum_arch.c.
value update_rc_channel | ( | value | c, |
value | v | ||
) |
Definition at line 76 of file spektrum_arch.c.
References MAX_PPRZ, radio_control, and RadioControl::values.
|
static |
Definition at line 40 of file spektrum_arch.c.
Referenced by radio_control_impl_init(), send_ppm(), and spektrum_event().