12 unstable releases (3 breaking)
✓ Uses Rust 2018 edition
|0.5.8||Jul 11, 2019|
|0.5.7||Jul 7, 2019|
|0.5.6||May 31, 2019|
|0.4.0||May 14, 2019|
|0.1.0||Apr 25, 2019|
#154 in Embedded development
174 downloads per month
Used in 2 crates
A helper / testing package for rust-embedded SPI traits and implementations, to try out some more interesting approaches prior to proposing additions to embedded-hal.
This provides a Transactional SPI interface, as well as a
Wrapper type to provide this for an SPI and OutputPin implementation, a
Mock helper for testing drivers based on this, and a set of compatibility shims for c FFI use with dependency injected drivers.
Embedded SPI helper package
This defines a higher level
Transactional SPI interface, as well as an SPI
that more closely map to the common uses of SPI peripherals, as well as some other common driver helpers.
embedded_spi::wrapper::Wrapper type is provided to wrap existing SPI implementations in this
embedded_spi::Transactional interface, as well as a set of helpers for C compatibility enabled with
compat feature, and a basic mocking adaptor enabled with the