Trait esp32_hal::spi::dma::WithDmaSpi2   
source · pub trait WithDmaSpi2<'d, T, RX, TX, P, M>where
    T: Instance + Spi2Instance,
    TX: Tx,
    RX: Rx,
    P: SpiPeripheral,
    M: DuplexMode,{
    // Required method
    fn with_dma(
        self,
        channel: Channel<TX, RX, P>
    ) -> SpiDma<'d, T, TX, RX, P, M>;
}