|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
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 |
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.
Collaboration diagram for ActuatorsSpektrum:| 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.
Referenced by actuators_spektrum_send().
| #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.
Here is the call graph for this function:| 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().