#include <twl/mi.h>
void MI_SetNDmaBlockWord( u32 ndmaNo, u32 word );
ndmaNo | DMA number to configure (0-3) |
word | Number of words in the block transfer. Expressed as "MI_NDMA_BWORD_n." |
None.
Sets the default block transfer word count when the TWL's new DMA is run.
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 word, specify the block transfer word count. The values that can be specified are listed below.
Value | Description |
---|---|
MI_NDMA_BWORD_1 |
1 word |
MI_NDMA_BWORD_2 |
2 words |
MI_NDMA_BWORD_4 |
4 words |
MI_NDMA_BWORD_8 |
8 words |
MI_NDMA_BWORD_16 |
16 words |
MI_NDMA_BWORD_32 |
32 words |
MI_NDMA_BWORD_64 |
64 words |
MI_NDMA_BWORD_128 |
128 words |
MI_NDMA_BWORD_256 |
256 words |
MI_NDMA_BWORD_512 |
512 words |
MI_NDMA_BWORD_1024 |
1024 words |
MI_NDMA_BWORD_2048 |
2048 words |
MI_NDMA_BWORD_4096 |
4096 words |
MI_NDMA_BWORD_8192 |
8192 words |
MI_NDMA_BWORD_16384 |
16384 words |
MI_NDMA_BWORD_32768 |
32768 words |
Overwrites the library's internal DMA config structure. This value will later become the values of d19-16 in the DMAx_CNT register.
2007/09/06 Initial version.
CONFIDENTIAL