<< Previous | Next >> | |
|
int DMAmatchSetup( dma_chan_t handle, int mask, int byte );
Description
- This function sets up the mask and match registers for the DMA. These registers are only used when the
DMA_F_STOP_MATCH
flag is passed to the transfer function.Parameters
- handle
- Handle for the DMA channel.
- mask
- Mask for termination byte (parameter 3). A value of all zeros disables the termination byte match feature. A value of all ones uses the full termination byte for comparison.
- byte
- Byte that, if matched, will terminate the buffer.
Library
- DMA.LIB
See Also
- DMAmem2mem, DMAtimerSetup
Dynamic C Functions | << Previous | Next >> | rabbit.com |