pub trait _embedded_hal_blocking_spi_Write<W> {
type Error;
// Required method
fn write(&mut self, words: &[W]) -> Result<(), Self::Error>;
}Expand description
Blocking write
Required Associated Types§
Required Methods§
Implementors§
Source§impl<P, M> Write<<UInt<UInt<UInt<UTerm, B1>, B0>, B0> as Length>::Word> for Spi<Config<P, M, U4>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with
Duplex Capability and an AtomicSize
impl<P, M> Write<<UInt<UInt<UInt<UTerm, B1>, B0>, B0> as Length>::Word> for Spi<Config<P, M, U4>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with
Duplex Capability and an AtomicSize
The transaction Length must be <= 4. The transfer accepts a
slice of primitive integers, depending on the Length (u8,
u16 or u32).
Source§impl<P, M> Write<<UInt<UInt<UInt<UTerm, B1>, B0>, B0> as Length>::Word> for Spi<Config<P, M, U4>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with
Tx Capability and an AtomicSize
impl<P, M> Write<<UInt<UInt<UInt<UTerm, B1>, B0>, B0> as Length>::Word> for Spi<Config<P, M, U4>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with
Tx Capability and an AtomicSize
The transaction Length must be <= 4. The transfer accepts a
slice of primitive integers, depending on the Length (u8,
u16 or u32).
Because the Capability is Tx, this implementation never
reads the DATA register and ignores all buffer overflow errors.
Source§impl<P, M> Write<<UInt<UInt<UTerm, B1>, B0> as Length>::Word> for Spi<Config<P, M, U2>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with
Duplex Capability and an AtomicSize
impl<P, M> Write<<UInt<UInt<UTerm, B1>, B0> as Length>::Word> for Spi<Config<P, M, U2>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with
Duplex Capability and an AtomicSize
The transaction Length must be <= 4. The transfer accepts a
slice of primitive integers, depending on the Length (u8,
u16 or u32).
Source§impl<P, M> Write<<UInt<UInt<UTerm, B1>, B0> as Length>::Word> for Spi<Config<P, M, U2>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with
Tx Capability and an AtomicSize
impl<P, M> Write<<UInt<UInt<UTerm, B1>, B0> as Length>::Word> for Spi<Config<P, M, U2>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with
Tx Capability and an AtomicSize
The transaction Length must be <= 4. The transfer accepts a
slice of primitive integers, depending on the Length (u8,
u16 or u32).
Because the Capability is Tx, this implementation never
reads the DATA register and ignores all buffer overflow errors.
Source§impl<P, M> Write<<UInt<UInt<UTerm, B1>, B1> as Length>::Word> for Spi<Config<P, M, U3>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with
Duplex Capability and an AtomicSize
impl<P, M> Write<<UInt<UInt<UTerm, B1>, B1> as Length>::Word> for Spi<Config<P, M, U3>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with
Duplex Capability and an AtomicSize
The transaction Length must be <= 4. The transfer accepts a
slice of primitive integers, depending on the Length (u8,
u16 or u32).
Source§impl<P, M> Write<<UInt<UInt<UTerm, B1>, B1> as Length>::Word> for Spi<Config<P, M, U3>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with
Tx Capability and an AtomicSize
impl<P, M> Write<<UInt<UInt<UTerm, B1>, B1> as Length>::Word> for Spi<Config<P, M, U3>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with
Tx Capability and an AtomicSize
The transaction Length must be <= 4. The transfer accepts a
slice of primitive integers, depending on the Length (u8,
u16 or u32).
Because the Capability is Tx, this implementation never
reads the DATA register and ignores all buffer overflow errors.
Source§impl<P, M> Write<<UInt<UTerm, B1> as Length>::Word> for Spi<Config<P, M, U1>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with
Duplex Capability and an AtomicSize
impl<P, M> Write<<UInt<UTerm, B1> as Length>::Word> for Spi<Config<P, M, U1>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with
Duplex Capability and an AtomicSize
The transaction Length must be <= 4. The transfer accepts a
slice of primitive integers, depending on the Length (u8,
u16 or u32).
Source§impl<P, M> Write<<UInt<UTerm, B1> as Length>::Word> for Spi<Config<P, M, U1>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with
Tx Capability and an AtomicSize
impl<P, M> Write<<UInt<UTerm, B1> as Length>::Word> for Spi<Config<P, M, U1>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with
Tx Capability and an AtomicSize
The transaction Length must be <= 4. The transfer accepts a
slice of primitive integers, depending on the Length (u8,
u16 or u32).
Because the Capability is Tx, this implementation never
reads the DATA register and ignores all buffer overflow errors.
Source§impl<P, M> Write<u8> for Spi<Config<P, M, DynLength>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with Duplex
Capability and DynLength
impl<P, M> Write<u8> for Spi<Config<P, M, DynLength>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with Duplex
Capability and DynLength
The transfer accepts a [u8] with a length equal to the run-time dynamic
transaction length. If the slice length does not match the result of
Spi::get_dyn_length, it will panic.
Source§impl<P, M> Write<u8> for Spi<Config<P, M, DynLength>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with Tx
Capability and DynLength
impl<P, M> Write<u8> for Spi<Config<P, M, DynLength>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with Tx
Capability and DynLength
The transfer accepts a [u8] with a length equal to the run-time dynamic
transaction length. If the slice length does not match the result of
Spi::get_dyn_length], it will panic.
Because the Capability is Tx, this implementation never reads the DATA
register and ignores all buffer overflow errors.
Source§impl<P, M, L> Write<u8> for Spi<Config<P, M, L>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with Duplex
Capability and long transaction Lengths
impl<P, M, L> Write<u8> for Spi<Config<P, M, L>, Duplex>
Implement embedded-hal 0.2 Write for Spi structs with Duplex
Capability and long transaction Lengths
Source§impl<P, M, L> Write<u8> for Spi<Config<P, M, L>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with Tx
Capability and long transaction Lengths
impl<P, M, L> Write<u8> for Spi<Config<P, M, L>, Tx>
Implement embedded-hal 0.2 Write for Spi structs with Tx
Capability and long transaction Lengths