pub trait _embedded_hal_blocking_spi_Transfer<W> {
type Error;
// Required method
fn transfer<'w>(
&mut self,
words: &'w mut [W],
) -> Result<&'w [W], Self::Error>;
}
Expand description
Blocking transfer
Required Associated Types§
Required Methods§
Implementors§
Source§impl<P, M, A> Transfer<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, A>
impl<P, M, A> Transfer<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, A>
The transfer accepts a slice of primitive integers, depending on
the CharSize
(u8
or u16
).