Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
spektrum_arch.c File Reference

Simulator implementation for spektrum radio control. More...

#include "subsystems/radio_control.h"
#include "subsystems/radio_control/spektrum.h"
#include "std.h"
#include <inttypes.h>
#include <caml/mlvalues.h>
+ Include dependency graph for spektrum_arch.c:

Go to the source code of this file.

Functions

void radio_control_spektrum_try_bind (void)
 
void radio_control_impl_init (void)
 
void RadioControlEventImp (void(*frame_handler)(void))
 
value update_rc_channel (value c, value v)
 
value send_ppm (value unit)
 

Variables

static bool spektrum_available
 

Detailed Description

Simulator implementation for spektrum radio control.

Definition in file spektrum_arch.c.

Function Documentation

void radio_control_impl_init ( void  )

Definition at line 44 of file spektrum_arch.c.

References spektrum_available.

void radio_control_spektrum_try_bind ( void  )

Definition at line 42 of file spektrum_arch.c.

void RadioControlEventImp ( void(*)(void)  frame_handler)

Definition at line 48 of file spektrum_arch.c.

value send_ppm ( value  unit)

Definition at line 90 of file spektrum_arch.c.

References spektrum_available, and unit.

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.

Variable Documentation

bool spektrum_available
static

Definition at line 40 of file spektrum_arch.c.

Referenced by radio_control_impl_init(), RadioControlEventImp(), and send_ppm().