Struct stm32_hal2::spi::Spi [−][src]
pub struct Spi<S> { /* fields omitted */ }
SPI peripheral operating in full duplex master mode
Implementations
impl<S> Spi<S> where
S: Deref<Target = RegisterBlock>,
[src]
impl<S> Spi<S> where
S: Deref<Target = RegisterBlock>,
[src]Trait Implementations
impl<S> Default<u8> for Spi<S> where
S: Deref<Target = RegisterBlock>,
[src]
impl<S> Default<u8> for Spi<S> where
S: Deref<Target = RegisterBlock>,
[src]impl<S> Default<u8> for Spi<S> where
S: Deref<Target = RegisterBlock>,
[src]
impl<S> Default<u8> for Spi<S> where
S: Deref<Target = RegisterBlock>,
[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<W, S> Transfer<W> for S where
S: Default<W>,
W: Clone,
[src]
impl<W, S> Transfer<W> for S where
S: Default<W>,
W: Clone,
[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>