<< Previous | Next >>

DMAioi2mem

int DMAioi2mem( dma_chan_t handle, dma_addr_t dest, unsigned int src, unsigned int len, unsigned int flags );

Description

This function performs an immediate DMA operation from internal I/O to memory.

Parameters

handle
Handle for channel to use in transfer

dest
Memory destination address

src
Internal I/O location source address

len
Length to send (cannot equal zero)

flags
Various flag options. See DMAioe2mem for a full list of flags and their descriptions.

Return Value

0: Success
-EINVAL: Invalid handle
-EBUSY: Resources are busy

Library

DMA.LIB

See Also

DMAmem2mem, DMAcompleted, DMAstop


Dynamic C Functions << Previous | Next >> rabbit.com