Trait esp32c2_hal::dma::TxChannel
source · pub trait TxChannel<R>where
R: RegisterAccess,{
// Provided methods
fn init(&mut self, burst_mode: bool, priority: DmaPriority) { ... }
fn prepare_transfer(
&mut self,
descriptors: &mut [u32],
circular: bool,
peri: DmaPeripheral,
data: *const u8,
len: usize
) -> Result<(), DmaError> { ... }
fn is_done(&self) -> bool { ... }
fn descriptors_handled(&self) -> bool { ... }
fn reset_descriptors_handled(&self) { ... }
fn last_out_dscr_address(&self) -> usize { ... }
}