pub struct Mem2MemRx<'d, Dm: DriverMode> { /* private fields */ }
Available on crate feature
unstable
only.Expand description
The RX half of Mem2Mem.
Implementations§
Source§impl<'d> Mem2MemRx<'d, Blocking>
impl<'d> Mem2MemRx<'d, Blocking>
Sourcepub fn into_async(self) -> Mem2MemRx<'d, Async>
pub fn into_async(self) -> Mem2MemRx<'d, Async>
Convert Mem2MemRx to an async Mem2MemRx.
Source§impl<'d, Dm> Mem2MemRx<'d, Dm>where
Dm: DriverMode,
impl<'d, Dm> Mem2MemRx<'d, Dm>where
Dm: DriverMode,
Sourcepub fn receive<BUF>(
self,
buf: BUF,
) -> Result<Mem2MemRxTransfer<'d, Dm, BUF>, (DmaError, Self, BUF)>where
BUF: DmaRxBuffer,
pub fn receive<BUF>(
self,
buf: BUF,
) -> Result<Mem2MemRxTransfer<'d, Dm, BUF>, (DmaError, Self, BUF)>where
BUF: DmaRxBuffer,
Start the RX half of a memory to memory transfer.