Trait esp32c2_hal::dma::DmaTransfer
source · pub trait 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.