Function ctru_sys::svcStartInterProcessDma
source · pub unsafe extern "C" fn svcStartInterProcessDma(
dma: *mut Handle,
dstProcess: Handle,
dstAddr: u32_,
srcProcess: Handle,
srcAddr: u32_,
size: u32_,
cfg: *const DmaConfig
) -> Result
Expand description
Begins an inter-process DMA transfer.
§Arguments
dma
(direction out) - Pointer to output the handle of the DMA channel object to.dstProcess
- Destination process handle.dstAddr
- Address in the destination process to write data to.srcProcess
- Source process handle.srcAddr
- Address in the source to read data from.size
- Size of the data to transfer.cfg
- Configuration structure.
Note: The handle is signaled when the transfer finishes.