Struct esp32_hal::dma::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
Auto Trait Implementations§
impl RefUnwindSafe for Spi3DmaChannelCreator
impl Send for Spi3DmaChannelCreator
impl Sync for Spi3DmaChannelCreator
impl Unpin for Spi3DmaChannelCreator
impl UnwindSafe for Spi3DmaChannelCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more