Struct e310x_hal::spi::SpiSharedDevice
source · pub struct SpiSharedDevice<'bus, SPI, PINS, CS> { /* private fields */ }
Expand description
SPI shared device abstraction
Implementations§
Trait Implementations§
§type Error = Infallible
type Error = Infallible
Error type
source§fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>where
WI: IntoIterator<Item = u8>,
fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>where WI: IntoIterator<Item = u8>,
Sends
words
to the slave, ignoring all the incoming words