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

Actuator driver for the swing. More...

#include <stdint.h>
+ Include dependency graph for actuators.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ActuatorsSwing
 

Macros

#define ActuatorsSwingSet(_i, _v)   { actuators_swing.rpm_ref[_i] = _v; }
 
#define ActuatorsSwingCommit()   actuators_swing_commit();
 
#define ActuatorsSwingInit()   actuators_swing_init();
 

Functions

void actuators_swing_commit (void)
 
void actuators_swing_init (void)
 

Variables

struct ActuatorsSwing actuators_swing
 

Detailed Description

Actuator driver for the swing.

Definition in file actuators.h.


Data Structure Documentation

struct ActuatorsSwing

Definition at line 33 of file actuators.h.

Data Fields
uint16_t rpm_ref[4] Reference RPM.

Macro Definition Documentation

#define ActuatorsSwingCommit ( )    actuators_swing_commit();

Definition at line 38 of file actuators.h.

#define ActuatorsSwingInit ( )    actuators_swing_init();

Definition at line 39 of file actuators.h.

#define ActuatorsSwingSet (   _i,
  _v 
)    { actuators_swing.rpm_ref[_i] = _v; }

Definition at line 37 of file actuators.h.

Function Documentation

void actuators_swing_commit ( void  )

Definition at line 86 of file actuators.c.

References actuators_swing, PWM_DELOS_SET_RATIOS, PWM_REG_RATIO_PRECISION_MASK, PWM_REG_SATURATION, PWM_TOTAL_RANGE, ActuatorsSwing::rpm_ref, and pwm_delos_quadruplet::val.

Referenced by actuators_swing_init().

+ Here is the caller graph for this function:

void actuators_swing_init ( void  )

Definition at line 66 of file actuators.c.

References actuators_swing_commit(), PWM_DELOS_SET_CTRL, PWM_DELOS_SET_SPEEDS, SiP6_PWM0_START, SiP6_PWM1_START, SiP6_PWM2_START, and SiP6_PWM3_START.

+ Here is the call graph for this function:

Variable Documentation

struct ActuatorsSwing actuators_swing

Definition at line 55 of file actuators.c.

Referenced by actuators_swing_commit().