pub enum NineBit {}
Expand description
CharSize
variant for 9-bit transactions
Trait Implementations§
source§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,
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,
source§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>, 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
).
source§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,
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.
Auto Trait Implementations§
impl RefUnwindSafe for NineBit
impl Send for NineBit
impl Sync for NineBit
impl Unpin for NineBit
impl UnwindSafe for NineBit
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