#include <twl/mi.h>
u32 MI_GetNDmaArbitramentRoundRobinCycle( void );
None.
Returns the "number of cycles" parameter when the DMA arbitration method is set to round-robin.
Gets the "number of cycles" parameter that is currently set when the DMA arbitration method for the TWL's new DMA is set to round-robin.
This is the number of cycles that can be run when there is a request from the DSP or ARM9 for the AHB bus. It will be ignored when there are no requests from the DSP or ARM9 for the AHB bus.
This configuration value has no particular meaning when the DMA arbitration method is set to fixed.
The table below shows the values that can be obtained.
Value | Description |
---|---|
MI_NDMA_RCYCLE_0 |
0 cycles |
MI_NDMA_RCYCLE_1 |
1 cycle |
MI_NDMA_RCYCLE_2 |
2 cycles |
MI_NDMA_RCYCLE_4 |
4 cycles |
MI_NDMA_RCYCLE_8 |
8 cycles |
MI_NDMA_RCYCLE_16 |
16 cycles |
MI_NDMA_RCYCLE_32 |
32 cycles |
MI_NDMA_RCYCLE_64 |
64 cycles |
MI_NDMA_RCYCLE_128 |
128 cycles |
MI_NDMA_RCYCLE_256 |
256 cycles |
MI_NDMA_RCYCLE_512 |
512 cycles |
MI_NDMA_RCYCLE_1024 |
1024 cycles |
MI_NDMA_RCYCLE_2048 |
2048 cycles |
MI_NDMA_RCYCLE_4096 |
4096 cycles |
MI_NDMA_RCYCLE_8192 |
8192 cycles |
MI_NDMA_RCYCLE_16384 |
16384 cycles |
Accesses the DMA_GCNT register.
MI_SetNDmaArbitrament, MI_GetNDmaArbitrament
2007/09/07 Initial version.
CONFIDENTIAL