[−][src]Crate embedded_spi
Embedded SPI helper package
This defines a higher level Transactional
SPI interface, as well as an SPI Transaction
enumeration
that more closely map to the common uses of SPI peripherals.
An 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
the compat
feature, and a basic mocking adaptor enabled with the mock
feature.
Modules
compat | Compatibility shims to allow C use of rust SPI peripherals
This module provides mechanisms to convert an abstract |
mock | |
wrapper | Transactional SPI wrapper implementation
This provides a |
Enums
Error | Error type combining SPI and Pin errors for utility |
Transaction | Transaction enum defines possible SPI transactions |