Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
ppm_arch.h File Reference
#include <BOARD_CONFIG>
+ Include dependency graph for ppm_arch.h:

Go to the source code of this file.

Macros

#define RC_PPM_TICKS_OF_USEC(_v)   ((_v)*RC_PPM_TICKS_PER_USEC)
 
#define RC_PPM_SIGNED_TICKS_OF_USEC(_v)   (int32_t)((_v)*RC_PPM_TICKS_PER_USEC)
 
#define USEC_OF_RC_PPM_TICKS(_v)   ((_v)/RC_PPM_TICKS_PER_USEC)
 
#define PPM_NB_CHANNEL   RADIO_CONTROL_NB_CHANNEL
 

Detailed Description

PPM interface between ChibiOS and Paparazzi

Input capture configuration has to be defined in the board.h

Definition in file ppm_arch.h.

Macro Definition Documentation

◆ PPM_NB_CHANNEL

#define PPM_NB_CHANNEL   RADIO_CONTROL_NB_CHANNEL

Definition at line 48 of file ppm_arch.h.

◆ RC_PPM_SIGNED_TICKS_OF_USEC

#define RC_PPM_SIGNED_TICKS_OF_USEC (   _v)    (int32_t)((_v)*RC_PPM_TICKS_PER_USEC)

Definition at line 45 of file ppm_arch.h.

◆ RC_PPM_TICKS_OF_USEC

#define RC_PPM_TICKS_OF_USEC (   _v)    ((_v)*RC_PPM_TICKS_PER_USEC)

Definition at line 44 of file ppm_arch.h.

◆ USEC_OF_RC_PPM_TICKS

#define USEC_OF_RC_PPM_TICKS (   _v)    ((_v)/RC_PPM_TICKS_PER_USEC)

Definition at line 46 of file ppm_arch.h.