[][src]Struct stm32f103xx_hal::spi::DmaSpi

pub struct DmaSpi<PINS: Pins<SPI2>> { /* fields omitted */ }

Methods

impl<PINS: Pins<SPI2>> DmaSpi<PINS>[src]

pub fn new(spi: Spi<SPI2, PINS>, rx_dma: C4, tx_dma: C5) -> Self[src]

pub fn release(self) -> (Spi<SPI2, PINS>, C4, C5)[src]

pub fn change_baud_rate(&mut self, freq: Hertz)[src]

Trait Implementations

impl<PINS: Pins<SPI2>> Transfer<u8> for DmaSpi<PINS>[src]

type Error = Error

Error type

impl<PINS: Pins<SPI2>> Write<u8> for DmaSpi<PINS>[src]

type Error = Error

Error type

Auto Trait Implementations

impl<PINS> Send for DmaSpi<PINS> where
    PINS: Send

impl<PINS> !Sync for DmaSpi<PINS>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<W, S> Transfer for S where
    S: Default<W>,
    W: Clone
[src]

type Error = <S as FullDuplex<W>>::Error

Error type

impl<W, S> Write for S where
    S: Default<W>,
    W: Clone
[src]

type Error = <S as FullDuplex<W>>::Error

Error type