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