![]() |
|
| << Previous | Next >> | |
| | |
int DMAcompleted( dma_chan_t handle, unsigned int * len );
Description
- This function checks to see if a channel is finished with its DMA operation. If complete, the number of bytes transferred in the last operation is returned in
*len(iflenis not NULL), and 1 is returned.Parameters
- handle
- Handle for channel to check
- len
- Pointer to the value to be filled with the number of bytes last transferred
Return Value
1: DMA operation is complete
0: Allocated channel has never been used or is currently running
-EINVAL: Invalid handleLibrary
- DMA.LIB
See Also
- DMAstop
| Dynamic C Functions | << Previous | Next >> | rabbit.com |