pub trait Write<W> {
    type Error;

    fn write(&mut self, words: &[W]) -> Result<(), Self::Error>;
}
Expand description

Blocking write

Required Associated Types

Error type

Required Methods

Sends words to the slave, ignoring all the incoming words

Implementors

impl<P, M> Write<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Duplex>where
    Config<P, M, EightBit>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> Write<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Tx>where
    Config<P, M, EightBit>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> Write<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, Duplex>where
    Config<P, M, NineBit>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> Write<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, Tx>where
    Config<P, M, NineBit>: ValidConfig,
    P: ValidPads,
    M: OpMode,