pub struct Spi<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> { /* fields omitted */ }
Expand description
impl<SCKPIN, MISOPIN, MOSIPIN> Spi<SPI1, SCKPIN, MISOPIN, MOSIPIN, EightBit>
Creates a new spi instance
impl<SCKPIN, MISOPIN, MOSIPIN> Spi<SPI2, SCKPIN, MISOPIN, MOSIPIN, EightBit>
Creates a new spi instance
impl<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> Spi<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> where
SPI: Deref<Target = RegisterBlock>,
Sends words
to the slave. Returns the words
received from the slave
Sends words
to the slave. Returns the words
received from the slave
Sends words
to the slave, ignoring all the incoming words
Sends words
to the slave, ignoring all the incoming words
impl<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> Send for Spi<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> where
MISOPIN: Send,
MOSIPIN: Send,
SCKPIN: Send,
SPI: Send,
WIDTH: Send,
impl<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> Sync for Spi<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> where
MISOPIN: Sync,
MOSIPIN: Sync,
SCKPIN: Sync,
SPI: Sync,
WIDTH: Sync,
impl<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> Unpin for Spi<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> where
MISOPIN: Unpin,
MOSIPIN: Unpin,
SCKPIN: Unpin,
SPI: Unpin,
WIDTH: Unpin,
impl<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> UnwindSafe for Spi<SPI, SCKPIN, MISOPIN, MOSIPIN, WIDTH> where
MISOPIN: UnwindSafe,
MOSIPIN: UnwindSafe,
SCKPIN: UnwindSafe,
SPI: UnwindSafe,
WIDTH: UnwindSafe,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.