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:
CS
pin trait to communicate CS control for driversWrapper
type to provide this for an SPI and OutputPin implementationHal
that abstracts over a number of SPI implementations to assist with writing driver utilitiesMock
helper for testing drivers based on this