Paparazzi UAS  v5.14.0_stable-0-g3f680d1
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_arch.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_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
 

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 42 of file spektrum_arch.c.

Referenced by radio_control_init().

+ Here is the caller graph for this function:

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.

Variable Documentation

bool spektrum_available
static

Definition at line 40 of file spektrum_arch.c.

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