|
Firmware
|
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. | |
| #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 | |
| __EXPORT uint16_t | ppm_frame_length |
| length of the decoded PPM frame (includes gap) | |
| __EXPORT unsigned | ppm_decoded_channels |
| count of decoded channels | |
| __EXPORT hrt_abstime | ppm_last_valid_decode |
| timestamp of the last valid decode | |
PPM input decoder.
1.8.12