Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
actuators_spektrum.c File Reference

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

#include "modules/actuators/actuators.h"
#include "modules/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

◆ actuators_spektrum_init()

void actuators_spektrum_init ( void  )

◆ actuators_spektrum_send()

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 dev.

Referenced by actuators_spektrum_set().

+ Here is the caller graph for this function:

◆ 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