#include <twl/mi.h>
u32 MI_GetNDmaBlockWord( u32 ndmaNo );
ndmaNo | DMA number to get the setting for (0-3). |
Returns the block transfer word count that was obtained. Expressed as "MI_NDMA_WORD_n."
Gets the setting for the default block transfer word count when the TWL's new DMA is run.
The target is the DMA specified in ndmaNo. This only references the DMA config structure; it does not access the I/O registers.
One of the following values is returned:
Value | Description |
---|---|
MI_NDMA_WORD_1 |
1 word |
MI_NDMA_WORD_2 |
2 words |
MI_NDMA_WORD_4 |
4 words |
MI_NDMA_WORD_8 |
8 words |
MI_NDMA_WORD_16 |
16 words |
MI_NDMA_WORD_32 |
32 words |
MI_NDMA_WORD_64 |
64 words |
MI_NDMA_WORD_128 |
128 words |
MI_NDMA_WORD_256 |
256 words |
MI_NDMA_WORD_512 |
512 words |
MI_NDMA_WORD_1024 |
1024 words |
MI_NDMA_WORD_2048 |
2048 words |
MI_NDMA_WORD_4096 |
4096 words |
MI_NDMA_WORD_8192 |
8192 words |
MI_NDMA_WORD_16384 |
16384 words |
MI_NDMA_WORD_32768 |
32768 words |
2007/09/06 Initial version.
CONFIDENTIAL