Paparazzi UAS  v5.8.2_stable-0-g6260b7c
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
 

Macros

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

Functions

void actuators_spektrum_init (void)
 
void actuators_spektrum_set (void)
 

Variables

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
int32_t cmds[ACTUATORS_SPEKTRUM_MAX_NB]
struct link_device * device
struct link_device * device2

Macro Definition Documentation

#define ACTUATORS_SPEKTRUM_MAX_NB   7

Definition at line 33 of file actuators_spektrum.h.

Referenced by actuators_spektrum_send().

#define ActuatorSpektrumSet (   _i,
  _v 
)    { 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