

#include <nitro/gx/gx.h>
u32 GX_SetDefaultNDMA(u32 ndma_no);
| ndma_no | Specifies the NDMA to use with GX functions. |
Returns the settings before this function was called.
Returns GX_DMA_NOT_USE if DMA had been configured to be used instead of NDMA.
This function changes the NDMA number used by GX functions. You can specify GX_DMA_NOT_USE as an argument to not use DMA or NDMA.
This function will cause NDMA to be used instead of the DMA configured by the GX_SetDefaultDMA function. Consequently, note that the value set by the GX_SetDefaultDMA function will be deleted.
GX_SetDefaultDMA, GX_GetDefaultNDMA
2008/06/05 Initial version.
CONFIDENTIAL