Struct stm32_hal2::spi::Spi [−][src]
pub struct Spi<SPI> { /* fields omitted */ }
SPI peripheral operating in full duplex master mode
Implementations
Trait Implementations
impl FullDuplex<u8> for Spi<SPI1>
[src]
impl FullDuplex<u8> for Spi<SPI1>
[src]Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<W, S> Transfer<W> for S where
W: Clone,
S: Default<W>,
[src]
impl<W, S> Transfer<W> for S where
W: Clone,
S: Default<W>,
[src]type Error = <S as FullDuplex<W>>::Error
Error type
pub fn transfer(
&mut self,
words: &'w mut [W]
) -> Result<&'w [W], <S as FullDuplex<W>>::Error>
[src]
&mut self,
words: &'w mut [W]
) -> Result<&'w [W], <S as FullDuplex<W>>::Error>