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

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)
 
#define PPM_NB_CHANNEL   RADIO_CONTROL_NB_CHANNEL
 

Macro Definition Documentation

#define PPM_NB_CHANNEL   RADIO_CONTROL_NB_CHANNEL

Definition at line 36 of file ppm_arch.h.

#define RC_PPM_SIGNED_TICKS_OF_USEC (   _x)    (_x)

Definition at line 33 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 32 of file ppm_arch.h.

#define USEC_OF_RC_PPM_TICKS (   _x)    (_x)

Definition at line 34 of file ppm_arch.h.