Struct esp32c2_hal::dma::gdma::ChannelCreator0
source · pub struct ChannelCreator0 {}
Implementations§
source§impl ChannelCreator0
impl ChannelCreator0
sourcepub fn configure<'a>(
self,
burst_mode: bool,
tx_descriptors: &'a mut [u32],
rx_descriptors: &'a mut [u32],
priority: DmaPriority
) -> Channel<ChannelTx<'a, Channel0TxImpl, Channel0>, ChannelRx<'a, Channel0RxImpl, Channel0>, SuitablePeripheral0>
pub fn configure<'a>( self, burst_mode: bool, tx_descriptors: &'a mut [u32], rx_descriptors: &'a mut [u32], priority: DmaPriority ) -> Channel<ChannelTx<'a, Channel0TxImpl, Channel0>, ChannelRx<'a, Channel0RxImpl, Channel0>, SuitablePeripheral0>
Configure the channel for use
Descriptors should be sized as (BUFFERSIZE / 4092) * 3
Auto Trait Implementations§
impl RefUnwindSafe for ChannelCreator0
impl Send for ChannelCreator0
impl Sync for ChannelCreator0
impl Unpin for ChannelCreator0
impl UnwindSafe for ChannelCreator0
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more