Struct esp32s2_hal::pdma::Spi3DmaChannelCreator
source · pub struct Spi3DmaChannelCreator {}
Implementations§
source§impl Spi3DmaChannelCreator
impl Spi3DmaChannelCreator
sourcepub fn configure<'a>(
self,
burst_mode: bool,
tx_descriptors: &'a mut [u32],
rx_descriptors: &'a mut [u32],
priority: DmaPriority
) -> Channel<ChannelTx<'a, Spi3DmaChannelTxImpl, Spi3DmaChannel>, ChannelRx<'a, Spi3DmaChannelRxImpl, Spi3DmaChannel>, Spi3DmaSuitablePeripheral>
pub fn configure<'a>( self, burst_mode: bool, tx_descriptors: &'a mut [u32], rx_descriptors: &'a mut [u32], priority: DmaPriority ) -> Channel<ChannelTx<'a, Spi3DmaChannelTxImpl, Spi3DmaChannel>, ChannelRx<'a, Spi3DmaChannelRxImpl, Spi3DmaChannel>, Spi3DmaSuitablePeripheral>
Configure the channel for use
Descriptors should be sized as (BUFFERSIZE / 4092) * 3