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