Paparazzi UAS  v6.2.0_stable
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 "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>
+ Include dependency graph for spektrum_arch.c:

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
 

Detailed Description

Simulator implementation for spektrum radio control.

Definition in file spektrum_arch.c.

Function Documentation

◆ send_ppm()

value send_ppm ( value  unit)

Definition at line 92 of file spektrum_arch.c.

References spektrum_available, and unit.

◆ spektrum_event()

◆ spektrum_init()

void spektrum_init ( void  )

Definition at line 43 of file spektrum_arch.c.

References spektrum_available.

◆ spektrum_try_bind()

void spektrum_try_bind ( void  )

Definition at line 59 of file spektrum_arch.c.

◆ update_rc_channel()

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.

Variable Documentation

◆ spektrum_available

bool spektrum_available
static

Definition at line 41 of file spektrum_arch.c.

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