<< Previous | Next >> | |
|
int DMAmem2mem( dma_chan_t handle, dma_addr_t dest, dma_addr_t src, unsigned int len, unsigned int flags );
Description
- This function performs an immediate DMA operation from memory to memory.
Parameters
- handle
- Handle for channel to use in transfer
- dest
- Memory destination address
- src
- Memory 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 busyLibrary
- DMA.LIB
See Also
- DMAcompleted, DMAstop
Dynamic C Functions | << Previous | Next >> | rabbit.com |