#ppm #protocols #cppm #fr-sky #ppmsum

no-std ppm_decode

Parser for the Pulse Position Modulation (PPM/CPPM) radio control (RC) protocol

4 releases

0.1.3 May 29, 2020
0.1.2 May 22, 2020
0.1.1 May 22, 2020
0.1.0 May 21, 2020

#1022 in Hardware support

24 downloads per month

BSD-3-Clause

17KB
199 lines

ppm_decode

PPM decoding for no_std rust. This library decodes the commonly-used PPM format used in radio control and other embedded applications.

Example

Typically PPM pulse input might be received via an input pin interrupt. The important thing is that you provide this parser with the time of the start of a pulse. In PPM the only time difference that matters is the difference between consecutive pulses.

See PpmParser documentation for example usage, or refer to the test_ppm_decode project for an example using an stm32f4 microcontroller.

Status

  • Basic parsing of anonymous PPM time events
  • Basic tests
  • Usage example
  • Test clock overflow
  • Test unusual configuration limits
  • Locks onto a consistent number of channels over time
  • Doc comments and example
  • CI

No runtime deps