PX4 Firmware
PX4 Autopilot Software http://px4.io
|
PPM input decoder. More...
#include <drivers/drv_hrt.h>
Go to the source code of this file.
Macros | |
#define | PPM_MAX_CHANNELS 12 |
Maximum number of channels that we will decode. More... | |
#define | PPM_MIN 1000 |
#define | PPM_MAX 2000 |
#define | PPM_MID ((PPM_MIN + PPM_MAX) / 2) |
Variables | |
__BEGIN_DECLS __EXPORT uint16_t | ppm_buffer [PPM_MAX_CHANNELS] |
decoded PPM channel values More... | |
__EXPORT uint16_t | ppm_frame_length |
length of the decoded PPM frame (includes gap) More... | |
__EXPORT unsigned | ppm_decoded_channels |
count of decoded channels More... | |
__EXPORT hrt_abstime | ppm_last_valid_decode |
timestamp of the last valid decode More... | |
PPM input decoder.
Definition in file ppm_decode.h.
#define PPM_MAX 2000 |
Definition at line 51 of file ppm_decode.h.
#define PPM_MAX_CHANNELS 12 |
Maximum number of channels that we will decode.
Definition at line 47 of file ppm_decode.h.
Referenced by ppm_input().
Definition at line 52 of file ppm_decode.h.
#define PPM_MIN 1000 |
Definition at line 50 of file ppm_decode.h.
__BEGIN_DECLS __EXPORT uint16_t ppm_buffer[PPM_MAX_CHANNELS] |
decoded PPM channel values
Referenced by RCInput::cycle(), and ppm_input().
__EXPORT unsigned ppm_decoded_channels |
count of decoded channels
Referenced by RCInput::cycle(), and ppm_input().
__EXPORT uint16_t ppm_frame_length |
length of the decoded PPM frame (includes gap)
Referenced by RCInput::cycle(), and ppm_input().
__EXPORT hrt_abstime ppm_last_valid_decode |
timestamp of the last valid decode
Referenced by RCInput::cycle(), and ppm_input().