#include <twl/mi.h>
void MI_SetNDmaWordCount( u32 ndmaNo, u32 wordCount );
ndmaNo | DMA number to configure (0-3) |
wordCount | Word count value. (0 - 0xFFFFFF) |
None.
Sets the default transfer word count when the TWL's new DMA is running.
The target is the DMA specified in ndmaNo. Here, the only action that's taking place is that the internal DMA config structure is being overwritten. The actual I/O registers cannot be overwritten until they are running.
In wordCount, specify the transfer word count for each DMA startup request. Values in the range 0 - 0xFFFFFF can be set. However, specifying a 0 will set the number of words to 0x1000000.
Overwrites the library's internal DMA config structure. This value will later become the value in the DMAxWCNT register.
2007/09/06 Initial version.
CONFIDENTIAL