Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
PPM interface between ChibiOS and Paparazzi. More...
#include <BOARD_CONFIG>
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 |
PPM interface between ChibiOS and Paparazzi.
Input capture configuration has to be defined in the board.h
Definition in file ppm_arch.h.
#define PPM_NB_CHANNEL RADIO_CONTROL_NB_CHANNEL |
Definition at line 48 of file ppm_arch.h.
#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.
#define RC_PPM_TICKS_OF_USEC | ( | _v | ) | ((_v)*RC_PPM_TICKS_PER_USEC) |
Definition at line 44 of file ppm_arch.h.
Referenced by ppm_decode_frame_width().
#define USEC_OF_RC_PPM_TICKS | ( | _v | ) | ((_v)/RC_PPM_TICKS_PER_USEC) |
Definition at line 46 of file ppm_arch.h.
Referenced by decode_hott_buffer(), decode_sbus_buffer(), and send_ppm().