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