Struct esp32s2_hal::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