Function imxrt_hal::dma::channel::set_source_linear_buffer
source · pub unsafe fn set_source_linear_buffer<E>(chan: &mut Channel, source: &[E])where
E: Element,
Expand description
Set a linear buffer as the source for a DMA transfer
When the transfer completes, the DMA channel will point at the start of the buffer.
Safety
Caller must ensure that the source is valid for the lifetime of the transfer, and valid for all subsequent transfers performed by this DMA channel with this buffer.