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§
fn wait(self) -> Result<(BR, BT, T), (DmaError, BR, BT, T)>
fn wait(self) -> Result<(BR, BT, T), (DmaError, BR, BT, T)>
Wait for the transfer to finish.
fn is_done(&self) -> bool
fn is_done(&self) -> bool
Check if the transfer is finished.