# GX_GetDefaultDMA

## Syntax

      #include <nitro/gx/gx.h>

      u32 GX_GetDefaultDMA( void );

## Arguments

None.

## Return Values

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

## Description

Gets the settings of the DMA number used by GX. You can use the `GX_InitEx` and `GX_SetDefaultDMA` functions to change the setting.

## See Also

`GX_SetDefaultDMA`
`GX_InitEx`
`GX_InitNDMAEx`

## Revision History

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

CONFIDENTIAL