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