pub trait WithDmaSpi2<'d, C, M>where
    C: ChannelTypes,
    <C as ChannelTypes>::P: SpiPeripheral,
    M: DuplexMode,{
    // Required method
    fn with_dma(self, channel: Channel<'d, C>) -> SpiDma<'d, SPI2, C, M>;
}

Required Methods§

source

fn with_dma(self, channel: Channel<'d, C>) -> SpiDma<'d, SPI2, C, M>

Implementors§

source§

impl<'d, C, M> WithDmaSpi2<'d, C, M> for Spi<'d, SPI2, M>where C: ChannelTypes, <C as ChannelTypes>::P: SpiPeripheral + Spi2Peripheral, M: DuplexMode,