embedded-spi 0.6.2

Rust embedded driver helper package (new releases at spi-hal)
Documentation

spi-hal

Previously known as embedded-spi, new releases at crates.io/crates/spi-hal. A helper package for rust-embedded SPI traits and implementations, including testing approactes prior to proposing additions to embedded-hal.

This provides:

  • A Transactional SPI interface (https://github.com/rust-embedded/embedded-hal/pull/191)
  • A CS pin trait to communicate CS control for drivers
  • a Wrapper type to provide this for an SPI and OutputPin implementation
  • a Hal that abstracts over a number of SPI implementations to assist with writing driver utilities
  • a Mock helper for testing drivers based on this
  • a set of compatibility shims for c FFI use with dependency injected drivers

Status

GitHub tag Build Status Crates.io Docs.rs

Open Issues