Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_spektrum.c File Reference

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

#include "subsystems/actuators.h"
#include "subsystems/actuators/actuators_spektrum.h"
#include "generated/airframe.h"
#include "mcu_periph/uart.h"
+ Include dependency graph for actuators_spektrum.c:

Go to the source code of this file.

Functions

static void actuators_spektrum_send (struct link_device *dev)
 
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.c.

Function Documentation

void actuators_spektrum_init ( void  )
static void actuators_spektrum_send ( struct link_device *  dev)
inlinestatic

Definition at line 83 of file actuators_spektrum.c.

References actuators_spektrum, ACTUATORS_SPEKTRUM_MAX_NB, ActuatorsSpektrum::cmds, and x12.

Referenced by actuators_spektrum_set().

+ Here is the caller graph for this function:

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