Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
switch_servo.c File Reference
#include "switching/switch_servo.h"
#include "generated/airframe.h"
#include "modules/actuators/actuators.h"
+ Include dependency graph for switch_servo.c:

Go to the source code of this file.

Macros

#define _SwitchServo(_n, _v)   ActuatorSet(_n, _v)
 
#define SwitchServo(_n, _v)   _SwitchServo(_n, _v)
 

Functions

void switch_servo_init (void)
 
void switch_servo_periodic (void)
 

Variables

bool switch_servo_on
 

Macro Definition Documentation

◆ _SwitchServo

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

Definition at line 29 of file switch_servo.c.

◆ SwitchServo

#define SwitchServo (   _n,
  _v 
)    _SwitchServo(_n, _v)

Definition at line 30 of file switch_servo.c.

Function Documentation

◆ switch_servo_init()

void switch_servo_init ( void  )

Definition at line 32 of file switch_servo.c.

References switch_servo_on, and switch_servo_periodic().

+ Here is the call graph for this function:

◆ switch_servo_periodic()

void switch_servo_periodic ( void  )

Definition at line 38 of file switch_servo.c.

References SWITCH_SERVO_OFF_VALUE, switch_servo_on, SWITCH_SERVO_ON_VALUE, SWITCH_SERVO_SERVO, SwitchServo, and TRUE.

Referenced by switch_servo_init().

+ Here is the caller graph for this function:

Variable Documentation

◆ switch_servo_on

bool switch_servo_on

Definition at line 26 of file switch_servo.c.

Referenced by switch_servo_init(), and switch_servo_periodic().