Trait esp32_hal::i2s::I2sReadDma

source ·
pub trait I2sReadDma<'d, T, P, RX, RXBUF>where
    T: RegisterAccess,
    P: I2sRxPins,
    RX: Rx,
{ fn read_dma(
        self,
        words: RXBUF
    ) -> Result<I2sReadDmaTransfer<T, P, RX, RXBUF>, Error>
    where
        T: RegisterAccess,
        P: I2sRxPins,
        RX: Rx,
        RXBUF: WriteBuffer<Word = u8>
; fn read_dma_circular(
        self,
        words: RXBUF
    ) -> Result<I2sReadDmaTransfer<T, P, RX, RXBUF>, Error>
    where
        T: RegisterAccess,
        P: I2sRxPins,
        RX: Rx,
        RXBUF: WriteBuffer<Word = u8>
; }
Expand description

Initate a DMA rx transfer

Required Methods§

Read I2S. Returns I2sReadDmaTransfer which represents the in-ptrogress DMA transfer

Continously read from I2S. Returns I2sReadDmaTransfer which represents the in-ptrogress DMA transfer

Implementors§