pub trait WriteIter<W> {
    type Error;

    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

Error type

Required Methods

Sends words to the slave, ignoring all the incoming words

Implementors

impl<P, M> WriteIter<<UInt<UTerm, B1> as Length>::Word> for Spi<Config<P, M, U1>, Duplex>where
    Config<P, M, U1>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> WriteIter<<UInt<UTerm, B1> as Length>::Word> for Spi<Config<P, M, U1>, Tx>where
    Config<P, M, U1>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> WriteIter<<UInt<UInt<UTerm, B1>, B0> as Length>::Word> for Spi<Config<P, M, U2>, Duplex>where
    Config<P, M, U2>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> WriteIter<<UInt<UInt<UTerm, B1>, B0> as Length>::Word> for Spi<Config<P, M, U2>, Tx>where
    Config<P, M, U2>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> WriteIter<<UInt<UInt<UTerm, B1>, B1> as Length>::Word> for Spi<Config<P, M, U3>, Duplex>where
    Config<P, M, U3>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> WriteIter<<UInt<UInt<UTerm, B1>, B1> as Length>::Word> for Spi<Config<P, M, U3>, Tx>where
    Config<P, M, U3>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> WriteIter<<UInt<UInt<UInt<UTerm, B1>, B0>, B0> as Length>::Word> for Spi<Config<P, M, U4>, Duplex>where
    Config<P, M, U4>: ValidConfig,
    P: ValidPads,
    M: OpMode,

impl<P, M> WriteIter<<UInt<UInt<UInt<UTerm, B1>, B0>, B0> as Length>::Word> for Spi<Config<P, M, U4>, Tx>where
    Config<P, M, U4>: ValidConfig,
    P: ValidPads,
    M: OpMode,