Struct esp32c2_hal::spi::slave::dma::SpiDmaTransfer
source · pub struct SpiDmaTransfer<'d, T, C, BUFFER>where
T: InstanceDma<<C as ChannelTypes>::Tx<'d>, <C as ChannelTypes>::Rx<'d>>,
C: ChannelTypes,
<C as ChannelTypes>::P: SpiPeripheral,{ /* private fields */ }
Expand description
An in-progress DMA transfer.
Trait Implementations§
source§impl<'d, T, C, BUFFER> DmaTransfer<BUFFER, SpiDma<'d, T, C>> for SpiDmaTransfer<'d, T, C, BUFFER>where
T: InstanceDma<<C as ChannelTypes>::Tx<'d>, <C as ChannelTypes>::Rx<'d>>,
C: ChannelTypes,
<C as ChannelTypes>::P: SpiPeripheral,
impl<'d, T, C, BUFFER> DmaTransfer<BUFFER, SpiDma<'d, T, C>> for SpiDmaTransfer<'d, T, C, BUFFER>where T: InstanceDma<<C as ChannelTypes>::Tx<'d>, <C as ChannelTypes>::Rx<'d>>, C: ChannelTypes, <C as ChannelTypes>::P: SpiPeripheral,
source§impl<'d, T, C, BUFFER> Drop for SpiDmaTransfer<'d, T, C, BUFFER>where
T: InstanceDma<<C as ChannelTypes>::Tx<'d>, <C as ChannelTypes>::Rx<'d>>,
C: ChannelTypes,
<C as ChannelTypes>::P: SpiPeripheral,
impl<'d, T, C, BUFFER> Drop for SpiDmaTransfer<'d, T, C, BUFFER>where T: InstanceDma<<C as ChannelTypes>::Tx<'d>, <C as ChannelTypes>::Rx<'d>>, C: ChannelTypes, <C as ChannelTypes>::P: SpiPeripheral,
Auto Trait Implementations§
impl<'d, T, C, BUFFER> RefUnwindSafe for SpiDmaTransfer<'d, T, C, BUFFER>where BUFFER: RefUnwindSafe, T: RefUnwindSafe, <C as ChannelTypes>::Rx<'d>: RefUnwindSafe, <C as ChannelTypes>::Tx<'d>: RefUnwindSafe,
impl<'d, T, C, BUFFER> Send for SpiDmaTransfer<'d, T, C, BUFFER>where BUFFER: Send, T: Send, <C as ChannelTypes>::Rx<'d>: Send, <C as ChannelTypes>::Tx<'d>: Send,
impl<'d, T, C, BUFFER> Sync for SpiDmaTransfer<'d, T, C, BUFFER>where BUFFER: Sync, T: Sync, <C as ChannelTypes>::Rx<'d>: Sync, <C as ChannelTypes>::Tx<'d>: Sync,
impl<'d, T, C, BUFFER> Unpin for SpiDmaTransfer<'d, T, C, BUFFER>where BUFFER: Unpin, T: Unpin, <C as ChannelTypes>::Rx<'d>: Unpin, <C as ChannelTypes>::Tx<'d>: Unpin,
impl<'d, T, C, BUFFER> !UnwindSafe for SpiDmaTransfer<'d, T, C, BUFFER>
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