Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ ActuatorsSpektrum

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

◆ ACTUATORS_SPEKTRUM_MAX_NB

#define ACTUATORS_SPEKTRUM_MAX_NB   7

Definition at line 33 of file actuators_spektrum.h.

◆ ActuatorSpektrumSet

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

Definition at line 48 of file actuators_spektrum.h.

◆ ActuatorsSpektrumCommit

#define ActuatorsSpektrumCommit ( )    actuators_spektrum_set()

Definition at line 50 of file actuators_spektrum.h.

◆ ActuatorsSpektrumInit

#define ActuatorsSpektrumInit ( )    actuators_spektrum_init()

Definition at line 49 of file actuators_spektrum.h.

Function Documentation

◆ actuators_spektrum_init()

void actuators_spektrum_init ( void  )

◆ actuators_spektrum_set()

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

◆ actuators_spektrum

struct ActuatorsSpektrum actuators_spektrum
extern