ppm_decode 0.1.3

Parser for the Pulse Position Modulation (PPM/CPPM) radio control (RC) protocol
Documentation
  • Coverage
  • 90.48%
    19 out of 21 items documented0 out of 10 items with examples
  • Size
  • Source code size: 18.15 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.52 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • tstellanova/ppm_decode
    1 2 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tstellanova

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