Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
actuators.h File Reference
#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

◆ ActuatorsSwing

struct ActuatorsSwing

Definition at line 33 of file actuators.h.

Data Fields
uint16_t rpm_ref[4] Reference RPM.

Macro Definition Documentation

◆ ActuatorsSwingCommit

#define ActuatorsSwingCommit ( )    actuators_swing_commit();

Definition at line 38 of file actuators.h.

◆ ActuatorsSwingInit

#define ActuatorsSwingInit ( )    actuators_swing_init();

Definition at line 39 of file actuators.h.

◆ ActuatorsSwingSet

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

Definition at line 37 of file actuators.h.

Function Documentation

◆ actuators_swing_commit()

void actuators_swing_commit ( void  )

◆ actuators_swing_init()

void actuators_swing_init ( void  )

Definition at line 66 of file actuators.c.

References actuators_fd, 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

◆ actuators_swing

struct ActuatorsSwing actuators_swing

Definition at line 55 of file actuators.c.

Referenced by actuators_swing_commit().