Trait embedded_hal::blocking::spi::WriteIter
source · pub trait WriteIter<W> {
type Error;
// Required method
fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>
where WI: IntoIterator<Item = W>;
}
Expand description
Blocking write (iterator version)
Required Associated Types§
Required Methods§
sourcefn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>where
WI: IntoIterator<Item = W>,
fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>where WI: IntoIterator<Item = W>,
Sends words
to the slave, ignoring all the incoming words