Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
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"
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 |
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.
void actuators_spektrum_init | ( | void | ) |
Definition at line 51 of file actuators_spektrum.c.
References actuators_spektrum, ActuatorsSpektrum::device, and ActuatorsSpektrum::device2.
|
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().
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.
struct ActuatorsSpektrum actuators_spektrum |
Definition at line 45 of file actuators_spektrum.c.
Referenced by actuators_spektrum_init(), actuators_spektrum_send(), and actuators_spektrum_set().