47 #define PPM_MAX_CHANNELS 12 52 #define PPM_MID ((PPM_MIN + PPM_MAX) / 2) __EXPORT uint16_t ppm_frame_length
length of the decoded PPM frame (includes gap)
High-resolution timer with callouts and timekeeping.
__EXPORT hrt_abstime ppm_last_valid_decode
timestamp of the last valid decode
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
#define PPM_MAX_CHANNELS
Maximum number of channels that we will decode.
__EXPORT unsigned ppm_decoded_channels
count of decoded channels
__BEGIN_DECLS __EXPORT uint16_t ppm_buffer[PPM_MAX_CHANNELS]
decoded PPM channel values