Struct esp32c3_hal::dma::gdma::ChannelCreator1
source · #[non_exhaustive]pub struct ChannelCreator1 {}
Implementations§
source§impl ChannelCreator1
impl ChannelCreator1
sourcepub fn configure<'a>(
self,
burst_mode: bool,
tx_descriptors: &'a mut [u32],
rx_descriptors: &'a mut [u32],
priority: DmaPriority
) -> Channel<'a, Channel1>
pub fn configure<'a>( self, burst_mode: bool, tx_descriptors: &'a mut [u32], rx_descriptors: &'a mut [u32], priority: DmaPriority ) -> Channel<'a, Channel1>
Configure the channel for use
Descriptors should be sized as ((BUFFERSIZE + 4091) / 4092) * 3
. I.e., to
transfer buffers of size 1..=4092
, you need 3 descriptors.
Auto Trait Implementations§
impl RefUnwindSafe for ChannelCreator1
impl Send for ChannelCreator1
impl Sync for ChannelCreator1
impl Unpin for ChannelCreator1
impl UnwindSafe for ChannelCreator1
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