Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
spektrum_arch.c File Reference
#include "subsystems/radio_control.h"
#include "subsystems/radio_control/spektrum_arch.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.


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)


static bool spektrum_available

Detailed Description

Simulator implementation for spektrum radio control.

Definition in file spektrum_arch.c.

Function Documentation

◆ radio_control_impl_init()

void radio_control_impl_init ( void  )

Definition at line 43 of file spektrum_arch.c.

Referenced by radio_control_init().

+ Here is the caller graph for this function:

◆ send_ppm()

value send_ppm ( value  unit)

Definition at line 91 of file spektrum_arch.c.

References spektrum_available, and unit.

◆ spektrum_event()

void spektrum_event ( void(*)(void)  frame_handler)

Definition at line 47 of file spektrum_arch.c.

◆ spektrum_try_bind()

void spektrum_try_bind ( void  )

Definition at line 58 of file spektrum_arch.c.

◆ update_rc_channel()

value update_rc_channel ( value  c,
value  v 

Definition at line 77 of file spektrum_arch.c.

References c(), MAX_PPRZ, radio_control, and RadioControl::values.

+ Here is the call graph for this function:

Variable Documentation

◆ spektrum_available

bool spektrum_available

Definition at line 41 of file spektrum_arch.c.

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