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