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

◆ START_TIMEOUT

#define START_TIMEOUT   0xFFFF;

Definition at line 39 of file servos_ppm_hw.c.

Function Documentation

◆ actuators_ppm_init()

Variable Documentation

◆ ppm_pulse

uint8_t ppm_pulse

Definition at line 36 of file servos_ppm_hw.c.

◆ servos_delay

uint32_t servos_delay

Definition at line 37 of file servos_ppm_hw.c.

Referenced by actuators_ppm_init().

◆ servos_PPM_idx

uint8_t servos_PPM_idx

Definition at line 35 of file servos_ppm_hw.c.

Referenced by actuators_ppm_init().

◆ servos_values

uint16_t servos_values[_PPM_NB_CHANNELS]

Definition at line 66 of file servos_ppm_hw.c.

Referenced by actuators_ppm_init().