Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ RC_PPM_SIGNED_TICKS_OF_USEC

#define RC_PPM_SIGNED_TICKS_OF_USEC (   _x)    (_x)

Definition at line 39 of file ppm_arch.h.

◆ RC_PPM_TICKS_OF_USEC

#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.

◆ USEC_OF_RC_PPM_TICKS

#define USEC_OF_RC_PPM_TICKS (   _x)    (_x)

Definition at line 40 of file ppm_arch.h.