GX_SetDefaultDMA

Syntax

#include <nitro/gx/gx.h>

u32 GX_SetDefaultDMA(u32 dma_no);

Arguments

dma_no The DMA number to use with GX.

Return Values

Returns the settings before this function was called.
Returns GX_DMA_NOT_USE if NDMA had been configured to be used instead of DMA.

Description

This function changes the DMA number used by the GX function. You can specify GX_DMA_NOT_USE as an argument to not use DMA or NDMA.

This function will cause DMA to be used instead of the NDMA configured by the GX_SetDefaultNDMA function. Consequently, note that values set by the GX_SetDefaultNDMA function will be deleted.

See Also

GX_GetDefaultDMA
GX_SetDefaultNDMA
GX_InitEx

Revision History

2008/06/05 Added a description for NDMA settings.
2004/07/28 Initial version.


CONFIDENTIAL