Struct esp32c3_hal::dma::gdma::ChannelCreator2
source · pub struct ChannelCreator2 {}
Implementations§
source§impl ChannelCreator2
impl ChannelCreator2
sourcepub fn configure<'a>(
self,
burst_mode: bool,
tx_descriptors: &'a mut [u32],
rx_descriptors: &'a mut [u32],
priority: DmaPriority
) -> Channel<ChannelTx<'a, Channel2TxImpl, Channel2>, ChannelRx<'a, Channel2RxImpl, Channel2>, SuitablePeripheral2>
pub fn configure<'a>( self, burst_mode: bool, tx_descriptors: &'a mut [u32], rx_descriptors: &'a mut [u32], priority: DmaPriority ) -> Channel<ChannelTx<'a, Channel2TxImpl, Channel2>, ChannelRx<'a, Channel2RxImpl, Channel2>, SuitablePeripheral2>
Configure the channel for use
Descriptors should be sized as (BUFFERSIZE / 4092) * 3
Auto Trait Implementations§
impl RefUnwindSafe for ChannelCreator2
impl Send for ChannelCreator2
impl Sync for ChannelCreator2
impl Unpin for ChannelCreator2
impl UnwindSafe for ChannelCreator2
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