Struct e310x_hal::spi::SpiExclusiveDevice
source · pub struct SpiExclusiveDevice<SPI, PINS> { /* private fields */ }
Expand description
SPI exclusive device abstraction
Implementations§
source§impl<SPI, PINS> SpiExclusiveDevice<SPI, PINS>where
SPI: SpiX,
PINS: Pins<SPI>,
impl<SPI, PINS> SpiExclusiveDevice<SPI, PINS>where SPI: SpiX, PINS: Pins<SPI>,
Trait Implementations§
source§impl<SPI, PINS> FullDuplex<u8> for SpiExclusiveDevice<SPI, PINS>where
SPI: SpiX,
PINS: Pins<SPI>,
impl<SPI, PINS> FullDuplex<u8> for SpiExclusiveDevice<SPI, PINS>where SPI: SpiX, PINS: Pins<SPI>,
source§impl<SPI, PINS> Transactional<u8> for SpiExclusiveDevice<SPI, PINS>where
SPI: SpiX,
PINS: Pins<SPI>,
impl<SPI, PINS> Transactional<u8> for SpiExclusiveDevice<SPI, PINS>where SPI: SpiX, PINS: Pins<SPI>,
source§impl<SPI, PINS> Transfer<u8> for SpiExclusiveDevice<SPI, PINS>where
SPI: SpiX,
PINS: Pins<SPI>,
impl<SPI, PINS> Transfer<u8> for SpiExclusiveDevice<SPI, PINS>where SPI: SpiX, PINS: Pins<SPI>,
source§impl<SPI, PINS> WriteIter<u8> for SpiExclusiveDevice<SPI, PINS>where
SPI: SpiX,
PINS: Pins<SPI>,
impl<SPI, PINS> WriteIter<u8> for SpiExclusiveDevice<SPI, PINS>where SPI: SpiX, PINS: Pins<SPI>,
§type Error = Infallible
type Error = Infallible
Error type
source§fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>where
WI: IntoIterator<Item = u8>,
fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>where WI: IntoIterator<Item = u8>,
Sends
words
to the slave, ignoring all the incoming words