pub trait _esp_hal_dma_DmaTransferRxTx<BR, BT, T>: Drop {
    // Required methods
    fn wait(self) -> Result<(BR, BT, T), (DmaError, BR, BT, T)>;
    fn is_done(&self) -> bool;
}
Expand description

Trait to be implemented for an in progress dma transfer.

Required Methods§

source

fn wait(self) -> Result<(BR, BT, T), (DmaError, BR, BT, T)>

Wait for the transfer to finish.

source

fn is_done(&self) -> bool

Check if the transfer is finished.

Implementors§

source§

impl<'d, T, C, RXBUF, TXBUF, M> DmaTransferRxTx<RXBUF, TXBUF, SpiDma<'d, T, C, M>> for SpiDmaTransferRxTx<'d, T, C, RXBUF, TXBUF, M>
where T: InstanceDma<<C as ChannelTypes>::Tx<'d>, <C as ChannelTypes>::Rx<'d>>, C: ChannelTypes, <C as ChannelTypes>::P: SpiPeripheral, M: DuplexMode,