# GX_GetDefaultNDMA

## Syntax

      #include <nitro/gx/gx.h>

      u32 GX_GetDefaultNDMA( void );

## Arguments

None.

## Return Values

The NDMA number used by GX functions.
Returns `GX_DMA_NOT_USE` if DMA had been configured to be used instead of NDMA.

## Description

Gets the NDMA number that has been configured to be used by GX functions. Use the `GX_SetDefaultNDMA` function to change the setting.

## See Also

`GX_SetDefaultNDMA`
`GX_InitEx`
`GX_InitNDMAEx`

## Revision History

2008/06/05 Initial version.

CONFIDENTIAL