pub enum EightBit {}
Expand description
CharSize
variant for 8-bit transactions
Trait Implementations§
source§impl<P, M, A> Transfer<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, A>where
Config<P, M, EightBit>: ValidConfig,
P: ValidPads,
M: OpMode,
A: Receive,
impl<P, M, A> Transfer<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, A>where Config<P, M, EightBit>: ValidConfig, P: ValidPads, M: OpMode, A: Receive,
source§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>, Duplex>where Config<P, M, EightBit>: 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
).
source§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<<EightBit as CharSize>::Word> for Spi<Config<P, M, EightBit>, Tx>where Config<P, M, EightBit>: 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.
Auto Trait Implementations§
impl RefUnwindSafe for EightBit
impl Send for EightBit
impl Sync for EightBit
impl Unpin for EightBit
impl UnwindSafe for EightBit
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more