Struct esp32s2_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<ChannelTx<'a, I2s0DmaChannelTxImpl, I2s0DmaChannel>, ChannelRx<'a, I2s0DmaChannelRxImpl, I2s0DmaChannel>, I2s0DmaSuitablePeripheral>
pub fn configure<'a>( self, burst_mode: bool, tx_descriptors: &'a mut [u32], rx_descriptors: &'a mut [u32], priority: DmaPriority ) -> Channel<ChannelTx<'a, I2s0DmaChannelTxImpl, I2s0DmaChannel>, ChannelRx<'a, I2s0DmaChannelRxImpl, I2s0DmaChannel>, I2s0DmaSuitablePeripheral>
Configure the channel for use
Descriptors should be sized as (BUFFERSIZE / 4092) * 3
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