pub enum EightBit {}Expand description
CharSize variant for 8-bit transactions
Trait Implementations§
Source§impl<P, M> WriteIter<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Duplex>
Implement WriteIter for Spi structs with Duplex
Capability
impl<P, M> WriteIter<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Duplex>
Implement WriteIter for Spi structs with Duplex
Capability
The transfer accepts a slice of primitive integers, depending on
the CharSize (u8 or u16).
Source§impl<P, M> WriteIter<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Tx>
Implement WriteIter for Spi structs with Tx
Capability
impl<P, M> WriteIter<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Tx>
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.
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).
Source§impl<P, M> Write<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Duplex>
Implement Write for Spi structs with Duplex
Capability
impl<P, M> Write<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Duplex>
Implement Write for Spi structs with Duplex
Capability
The transfer accepts a slice of primitive integers, depending on
the CharSize (u8 or u16).
Source§impl<P, M> Write<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Tx>
Implement Write for Spi structs with Tx
Capability
impl<P, M> Write<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Tx>
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.