Paparazzi UAS  v5.15_devel-47-g0391b4d
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_pwm_arch.h File Reference

STM32 PWM servos handling. More...

#include "std.h"
#include <BOARD_CONFIG>
+ Include dependency graph for actuators_pwm_arch.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define ACTUATORS_PWM_NB   8
#define SERVOS_TICS_OF_USEC(_v)   (_v)
#define ActuatorPwmSet(_i, _v)   { actuators_pwm_values[_i] = _v; }
#define ActuatorsPwmCommit   actuators_pwm_commit


void actuators_pwm_commit (void)
 Set pulse widths from actuator values, assumed to be in us. More...


int32_t actuators_pwm_values [ACTUATORS_PWM_NB]

Detailed Description

STM32 PWM servos handling.

Definition in file actuators_pwm_arch.h.

Macro Definition Documentation

#define ActuatorPwmSet (   _i,
)    { actuators_pwm_values[_i] = _v; }

Definition at line 43 of file actuators_pwm_arch.h.

#define ACTUATORS_PWM_NB   8

Definition at line 34 of file actuators_pwm_arch.h.

#define ActuatorsPwmCommit   actuators_pwm_commit

Definition at line 44 of file actuators_pwm_arch.h.

#define SERVOS_TICS_OF_USEC (   _v)    (_v)

Definition at line 41 of file actuators_pwm_arch.h.

Function Documentation

Variable Documentation

int32_t actuators_pwm_values[ACTUATORS_PWM_NB]