Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Interface from actuators to ChibiOS PWM driver. More...
#include "std.h"
#include "hal.h"
#include <BOARD_CONFIG>
Go to the source code of this file.
Macros | |
#define | ACTUATORS_PWM_NB 8 |
#define | ActuatorPwmSet(_i, _v) { actuators_pwm_values[_i] = _v; } |
#define | ActuatorsPwmCommit actuators_pwm_commit |
Functions | |
void | actuators_pwm_commit (void) |
Set pulse widths from actuator values, assumed to be in us. More... | |
Variables | |
int32_t | actuators_pwm_values [ACTUATORS_PWM_NB] |
Interface from actuators to ChibiOS PWM driver.
PWM configuration files are defined in the board file, so maximal architecture independence is ensured.
Definition in file actuators_pwm_arch.h.
#define ActuatorPwmSet | ( | _i, | |
_v | |||
) | { actuators_pwm_values[_i] = _v; } |
Definition at line 49 of file actuators_pwm_arch.h.
#define ACTUATORS_PWM_NB 8 |
Definition at line 42 of file actuators_pwm_arch.h.
#define ActuatorsPwmCommit actuators_pwm_commit |
Definition at line 50 of file actuators_pwm_arch.h.
void actuators_pwm_commit | ( | void | ) |
Set pulse widths from actuator values, assumed to be in us.
Definition at line 377 of file actuators_pwm_arch.c.
|
extern |
Definition at line 92 of file actuators_pwm_arch.c.