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
actuators_spektrum.h File Reference

Spektrum actuator driver, which can output as 7 spektrum channels at ~11ms. More...

#include "std.h"
+ Include dependency graph for actuators_spektrum.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ActuatorsSpektrum


#define ActuatorSpektrumSet(_i, _v)   { actuators_spektrum.cmds[_i] = _v; }
#define ActuatorsSpektrumInit()   actuators_spektrum_init()
#define ActuatorsSpektrumCommit()   actuators_spektrum_set()


void actuators_spektrum_init (void)
void actuators_spektrum_set (void)


struct ActuatorsSpektrum actuators_spektrum

Detailed Description

Spektrum actuator driver, which can output as 7 spektrum channels at ~11ms.

Channels min, averga and maximum should be: 340, 1024, 1708

Definition in file actuators_spektrum.h.

Data Structure Documentation

struct ActuatorsSpektrum

Definition at line 36 of file actuators_spektrum.h.

+ Collaboration diagram for ActuatorsSpektrum:
Data Fields
struct link_device * device
struct link_device * device2

Macro Definition Documentation


Definition at line 33 of file actuators_spektrum.h.

Referenced by actuators_spektrum_send().

#define ActuatorSpektrumSet (   _i,
)    { actuators_spektrum.cmds[_i] = _v; }

Definition at line 48 of file actuators_spektrum.h.

#define ActuatorsSpektrumCommit ( )    actuators_spektrum_set()

Definition at line 50 of file actuators_spektrum.h.

#define ActuatorsSpektrumInit ( )    actuators_spektrum_init()

Definition at line 49 of file actuators_spektrum.h.

Function Documentation

void actuators_spektrum_init ( void  )
void actuators_spektrum_set ( void  )

Definition at line 63 of file actuators_spektrum.c.

References actuators_spektrum, actuators_spektrum_send(), ActuatorsSpektrum::device, and ActuatorsSpektrum::device2.

+ Here is the call graph for this function:

Variable Documentation

struct ActuatorsSpektrum actuators_spektrum