Struct esp32c3_hal::gdma::ChannelCreator2
source · pub struct ChannelCreator2 {}
Implementations§
source§impl ChannelCreator2
impl ChannelCreator2
sourcepub fn configure<'a>(
self,
burst_mode: bool,
tx_descriptors: &'a mut [u32],
rx_descriptors: &'a mut [u32],
priority: DmaPriority
) -> Channel<ChannelTx<'a, Channel2TxImpl, Channel2>, ChannelRx<'a, Channel2RxImpl, Channel2>, SuitablePeripheral2>
pub fn configure<'a>( self, burst_mode: bool, tx_descriptors: &'a mut [u32], rx_descriptors: &'a mut [u32], priority: DmaPriority ) -> Channel<ChannelTx<'a, Channel2TxImpl, Channel2>, ChannelRx<'a, Channel2RxImpl, Channel2>, SuitablePeripheral2>
Configure the channel for use
Descriptors should be sized as (BUFFERSIZE / 4092) * 3