Struct imxrt_hal::dma::peripheral::FullDuplex
source · pub struct FullDuplex<'a, P, E>where
P: Bidirectional<E>,
E: Element,{ /* private fields */ }
Expand description
A full-duplex DMA transfer from a single buffer
FullDuplex
only works with Bidirectional
peripherals. The transfer acts on a single buffer, sending and receiving data
element by element. It yields when all elements are sent and received.
To create this future, use full_duplex()
.
Trait Implementations§
source§impl<P, E> Drop for FullDuplex<'_, P, E>where
P: Bidirectional<E>,
E: Element,
impl<P, E> Drop for FullDuplex<'_, P, E>where
P: Bidirectional<E>,
E: Element,
source§impl<P, E> Future for FullDuplex<'_, P, E>where
P: Bidirectional<E>,
E: Element,
impl<P, E> Future for FullDuplex<'_, P, E>where
P: Bidirectional<E>,
E: Element,
Auto Trait Implementations§
impl<'a, P, E> !RefUnwindSafe for FullDuplex<'a, P, E>
impl<'a, P, E> !Send for FullDuplex<'a, P, E>
impl<'a, P, E> !Sync for FullDuplex<'a, P, E>
impl<'a, P, E> !Unpin for FullDuplex<'a, P, E>
impl<'a, P, E> !UnwindSafe for FullDuplex<'a, P, E>
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more