pub trait _embedded_hal_blocking_spi_Write<W> {
type Error;
fn write(&mut self, words: &[W]) -> Result<(), Self::Error>;
}
Expand description
Blocking write
Associated Types
type Error
type Error
Error type
Required methods
Implementors
Implement Write
for Spi
structs with Duplex
Capability
The transfer accepts a slice of primitive integers, depending on
the CharSize
(u8
or u16
).
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.
Implement Write
for Spi
structs with Duplex
Capability
The transfer accepts a slice of primitive integers, depending on
the CharSize
(u8
or u16
).
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.