# GX_InitNDMAEx

## Syntax

      #include <nitro/gx/gx.h>

      void GX_InitNDMAEx(u32 ndma_no);

## Arguments

ndma_no | NDMA number to use with GX functions.

## Return Values

None.

## Description

Initializes all graphics registers that are not 3D-related. It calls `GX_SetPower (GX_POWER_ALL)`.
The GX function uses DMA 3 by default, but you can specify the NDMA number to use in the GX function. You can also specify `GX_DMA_NOT_USE` in the arguments to not use the DMA.
Before calling this function, you must call the `OS_InitLock` or `OS_Init` function.

## See Also

`GX_Init`
`GX_InitEx`
`G3X_Init`
`G3X_Reset`
`G3X_InitTable`

## Revision History

2009/06/17 Initial version.

CONFIDENTIAL