Trait esp_ward::_esp_hal_dma_DmaTransfer
pub trait _esp_hal_dma_DmaTransfer<B, T>: Drop {
// Required methods
fn wait(self) -> Result<(B, T), (DmaError, B, T)>;
fn is_done(&self) -> bool;
}
Expand description
Trait to be implemented for an in progress dma transfer.
Required Methods§
fn wait(self) -> Result<(B, T), (DmaError, B, T)>
fn wait(self) -> Result<(B, T), (DmaError, B, T)>
Wait for the transfer to finish.
fn is_done(&self) -> bool
fn is_done(&self) -> bool
Check if the transfer is finished.