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