Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
servos_ppm_hw.c File Reference

Efficient driving of MAT0.1 (SERVO_CLOCK_PIN) using TIMER0 to produce PPM for a R/C receiver which has a microcontroller to drive the servos (not a 4015 or 4017 decade counter chip). More...

#include "subsystems/actuators.h"
#include "paparazzi.h"
#include "generated/airframe.h"
+ Include dependency graph for servos_ppm_hw.c:

Go to the source code of this file.

Macros

#define START_TIMEOUT   0xFFFF;
 

Functions

void actuators_ppm_init (void)
 

Variables

uint8_t servos_PPM_idx
 
uint8_t ppm_pulse
 
uint32_t servos_delay
 
uint16_t servos_values [_PPM_NB_CHANNELS]
 

Detailed Description

Efficient driving of MAT0.1 (SERVO_CLOCK_PIN) using TIMER0 to produce PPM for a R/C receiver which has a microcontroller to drive the servos (not a 4015 or 4017 decade counter chip).

Definition in file servos_ppm_hw.c.

Macro Definition Documentation

#define START_TIMEOUT   0xFFFF;

Definition at line 39 of file servos_ppm_hw.c.

Referenced by actuators_ppm_init().

Function Documentation

Variable Documentation

uint8_t ppm_pulse

Definition at line 36 of file servos_ppm_hw.c.

uint32_t servos_delay

Definition at line 37 of file servos_ppm_hw.c.

Referenced by actuators_ppm_init().

uint8_t servos_PPM_idx

Definition at line 35 of file servos_ppm_hw.c.

Referenced by actuators_ppm_init().

uint16_t servos_values[_PPM_NB_CHANNELS]

Definition at line 66 of file servos_ppm_hw.c.

Referenced by actuators_ppm_init().