Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ppm_arch.c File Reference

PPM radio control, simulator specific. More...

#include "modules/radio_control/radio_control.h"
#include "modules/radio_control/ppm.h"
#include "nps_radio_control.h"
#include <inttypes.h>
+ Include dependency graph for ppm_arch.c:

Go to the source code of this file.

Macros

#define PPM_OF_NPS(_nps, _neutral, _min, _max)    ((_nps) >= 0 ? (_neutral) + (_nps) * ((_max)-(_neutral)) : (_neutral) + (_nps) * ((_neutral)- (_min)))
 

Functions

void ppm_arch_init (void)
 Architecture dependant code. More...
 
void radio_control_feed (void)
 

Detailed Description

PPM radio control, simulator specific.

Definition in file ppm_arch.c.

Macro Definition Documentation

◆ PPM_OF_NPS

#define PPM_OF_NPS (   _nps,
  _neutral,
  _min,
  _max 
)     ((_nps) >= 0 ? (_neutral) + (_nps) * ((_max)-(_neutral)) : (_neutral) + (_nps) * ((_neutral)- (_min)))

Definition at line 39 of file ppm_arch.c.

Function Documentation

◆ ppm_arch_init()

void ppm_arch_init ( void  )

Architecture dependant code.

Definition at line 34 of file ppm_arch.c.

◆ radio_control_feed()