1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>GX_InitNDMAEx</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">GX_InitNDMAEx <img src="../../image/BPT.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19<PRE><CODE>#include &lt;nitro/gx/gx.h&gt;
20
21void GX_InitNDMAEx(u32 ndma_no);<BR></CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24<TABLE border="1" width="100%">
25  <TBODY>
26    <TR>
27      <TD width="237"><SPAN class="argument">ndma_no</SPAN></TD>
28      <TD width="609">NDMA number to use with GX functions.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32<h2>Return Values</h2>
33<p>None.</p>
34<H2>Description</H2>
35<P>Initializes all graphics registers that are not 3D-related. It calls <CODE><A href="GX_SetPower.html">GX_SetPower</A> (GX_POWER_ALL)</CODE>.<BR> <BR>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 <CODE>GX_DMA_NOT_USE</CODE> in the arguments to not use the DMA. <br> <FONT color="#800000">Before calling this function, you must call the <A href="../../os/spinLock/OS_InitLock.html"><code>OS_InitLock</code></A> or <A href="../../os/init/OS_Init.html"><code>OS_Init</code></A> function.</FONT>
36</P>
37<h2>See Also</h2>
38<P><A href="GX_Init.html"><CODE>GX_Init</CODE></A><BR> <A href="GX_InitEx.html"><CODE>GX_InitEx</CODE></A><BR> <A href="../g3/G3X_Init.html"><CODE>G3X_Init</CODE></A><BR> <A href="../g3/G3X_Reset.html"><CODE>G3X_Reset</CODE></A><BR> <A href="../g3/G3X_InitTable.html"><CODE>G3X_InitTable</CODE></A></P>
39<H2>Revision History</H2>
40<P>2009/06/17 Initial version.</P>
41<hr><p>CONFIDENTIAL</p></body>
42</html>
43