Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Spektrum actuator driver, which can output as 7 spektrum channels at ~11ms. More...
#include "std.h"
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 |
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.
struct ActuatorsSpektrum |
Definition at line 36 of file actuators_spektrum.h.
Data Fields | ||
---|---|---|
int32_t | cmds[ACTUATORS_SPEKTRUM_MAX_NB] | |
struct link_device * | device | |
struct link_device * | device2 |
#define ACTUATORS_SPEKTRUM_MAX_NB 7 |
Definition at line 33 of file actuators_spektrum.h.
#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.
void actuators_spektrum_init | ( | void | ) |
Definition at line 51 of file actuators_spektrum.c.
References actuators_spektrum, ActuatorsSpektrum::device, and ActuatorsSpektrum::device2.
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.
|
extern |
Definition at line 1 of file actuators_spektrum.c.
Referenced by actuators_spektrum_init(), actuators_spektrum_send(), and actuators_spektrum_set().