pub enum NineBit {}Expand description
CharSize variant for 9-bit transactions
Trait Implementations
sourceimpl<P, M, A> Transfer<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, A>where
Config<P, M, NineBit>: ValidConfig,
P: ValidPads,
M: OpMode,
A: Receive,
impl<P, M, A> Transfer<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, A>where
Config<P, M, NineBit>: ValidConfig,
P: ValidPads,
M: OpMode,
A: Receive,
sourceimpl<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>, Duplex>where
Config<P, M, NineBit>: ValidConfig,
P: ValidPads,
M: OpMode,
Implement Write for Spi structs with Duplex
Capability
The transfer accepts a slice of primitive integers, depending on
the CharSize (u8 or u16).
sourceimpl<P, M> Write<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, Tx>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,
Implement Write for Spi structs with Tx
Capability
The transfer accepts a slice of primitive integers, depending on
the CharSize (u8 or u16).
Because the Capability is Tx, this implementation never
reads the DATA register and ignores all buffer overflow errors.
sourceimpl<P, M> WriteIter<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, Duplex>where
Config<P, M, NineBit>: ValidConfig,
P: ValidPads,
M: OpMode,
impl<P, M> WriteIter<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, Duplex>where
Config<P, M, NineBit>: ValidConfig,
P: ValidPads,
M: OpMode,
Implement WriteIter for Spi structs with Duplex
Capability
The transfer accepts a slice of primitive integers, depending on
the CharSize (u8 or u16).
sourcefn write_iter<WI>(&mut self, words: WI) -> Result<(), Error>where
WI: IntoIterator<Item = Word<NineBit>>,
fn write_iter<WI>(&mut self, words: WI) -> Result<(), Error>where
WI: IntoIterator<Item = Word<NineBit>>,
words to the slave, ignoring all the incoming wordssourceimpl<P, M> WriteIter<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, Tx>where
Config<P, M, NineBit>: ValidConfig,
P: ValidPads,
M: OpMode,
impl<P, M> WriteIter<<NineBit as CharSize>::Word> for Spi<Config<P, M, NineBit>, Tx>where
Config<P, M, NineBit>: ValidConfig,
P: ValidPads,
M: OpMode,
Implement WriteIter for Spi structs with Tx
Capability
The transfer accepts a slice of primitive integers, depending on
the CharSize (u8 or u16).
Because the Capability is Tx, this implementation never
reads the DATA register and ignores all buffer overflow errors.
sourcefn write_iter<WI>(&mut self, words: WI) -> Result<(), Error>where
WI: IntoIterator<Item = Word<NineBit>>,
fn write_iter<WI>(&mut self, words: WI) -> Result<(), Error>where
WI: IntoIterator<Item = Word<NineBit>>,
words to the slave, ignoring all the incoming words