smbus-request-parser 0.2.0

Parse SMBus requests. Register functions to call for each type of write/read request. Agnostic regarding polling, irq, dma usage.
Documentation
  • Coverage
  • 0%
    0 out of 35 items documented0 out of 14 items with examples
  • Size
  • Source code size: 27.08 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.71 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
  • barafael/smbus-request-parser-rs
    4 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • barafael

SMBus Request Parser

This library encapsulates the state machine for handling smbus requests on the module ("slave") side. The only requirements on the hardware driver/implementation is that they generate these events:

  • Address match with direction
  • Byte received
  • Byte requested
  • Stop Event

Whether these events are generated by polling, interrupts, or dma does not matter. The state machine is agnostic to clock stretching and timing details.