<< Previous | Next >>

DMAmem2ioe

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

Description

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

Parameters

handle
Handle for channel to use in transfer

dest
External I/O destination address

src
Memory location source

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