Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
servo_switch.c File Reference
#include "servo_switch/servo_switch.h"
#include "generated/airframe.h"
#include "subsystems/actuators.h"
+ Include dependency graph for servo_switch.c:

Go to the source code of this file.

Macros

#define _ServoSwitch(_n, _v)   ActuatorSet(_n, _v)
 
#define ServoSwitch(_n, _v)   _ServoSwitch(_n, _v)
 

Functions

void servo_switch_init (void)
 
void servo_switch_periodic (void)
 

Variables

bool_t servo_switch_on
 

Macro Definition Documentation

#define _ServoSwitch (   _n,
  _v 
)    ActuatorSet(_n, _v)

Definition at line 29 of file servo_switch.c.

#define ServoSwitch (   _n,
  _v 
)    _ServoSwitch(_n, _v)

Definition at line 30 of file servo_switch.c.

Referenced by servo_switch_periodic().

Function Documentation

void servo_switch_init ( void  )

Definition at line 32 of file servo_switch.c.

References FALSE, servo_switch_on, and servo_switch_periodic().

+ Here is the call graph for this function:

void servo_switch_periodic ( void  )

Definition at line 37 of file servo_switch.c.

References SERVO_SWITCH_OFF_VALUE, servo_switch_on, SERVO_SWITCH_ON_VALUE, SERVO_SWITCH_SERVO, ServoSwitch, and TRUE.

Referenced by servo_switch_init().

+ Here is the caller graph for this function:

Variable Documentation

bool_t servo_switch_on

Definition at line 26 of file servo_switch.c.

Referenced by servo_switch_init(), and servo_switch_periodic().