<< Previous | Next >>

DMAstop

int DMAstop( dma_chan_t handle );

Description

Stop a DMA operation started with one of the DMAmem2ioe series functions. DMAcompleted() will return TRUE after for an operation stopped with this function, but with less data length than the original request. It is OK to stop an operation that has currently completed; this has no effect. DMAcompleted() may be called to determine the actual amount of data transferred.

Parameter

Handle for channel to stop.

Return Value

0: Success
-EINVAL: Invalid handle

Library

DMA.LIB

See Also

DMAcompleted, DMAstopDirect


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