GX_SetDefaultNDMA

Syntax

#include <nitro/gx/gx.h>

u32 GX_SetDefaultNDMA(u32 ndma_no);

Arguments

ndma_no NDMA number to use with GX functions.

Return Values

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

Description

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 causes 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 is deleted.

See Also

GX_SetDefaultDMA
GX_GetDefaultNDMA
GX_InitEx
GX_InitNDMAEx

Revision History

2008/06/05 Initial version.


CONFIDENTIAL