Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ppm_arch.h File Reference

PPM radio control, simulator specific. More...

Go to the source code of this file.

Macros

#define RC_PPM_TICKS_OF_USEC(_x)   (_x)
 On tiny (and booz) the ppm counter is running at the same speed as the systic counter. More...
 
#define RC_PPM_SIGNED_TICKS_OF_USEC(_x)   (_x)
 
#define USEC_OF_RC_PPM_TICKS(_x)   (_x)
 

Detailed Description

PPM radio control, simulator specific.

Definition in file ppm_arch.h.

Macro Definition Documentation

#define RC_PPM_SIGNED_TICKS_OF_USEC (   _x)    (_x)

Definition at line 39 of file ppm_arch.h.

#define RC_PPM_TICKS_OF_USEC (   _x)    (_x)

On tiny (and booz) the ppm counter is running at the same speed as the systic counter.

There is no reason for this to be true. Let's add a pair of macros to make it possible for them to be different.

Definition at line 38 of file ppm_arch.h.

#define USEC_OF_RC_PPM_TICKS (   _x)    (_x)

Definition at line 40 of file ppm_arch.h.