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_InitEx</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">GX_InitEx <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<PRE><CODE>#include <nitro/gx/gx.h> 20 21void GX_InitEx(u32 dma_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"><EM><STRONG><FONT face="Courier New">dma_no</FONT></STRONG></EM></TD> 28 <TD width="609">The DMA number to use with GX.</TD> 29 </TR> 30 </TBODY> 31</TABLE> 32<h2>Return Values</h2> 33<p>None.</p> 34<H2>Description</H2> 35<P>This function initializes all graphics registers that are not 3D-related. It calls <CODE><A href="GX_SetPower.html">GX_SetPower</A>(GX_POWER_ALL)</CODE> internally.<BR>The GX function uses DMA 3 by default, but you can specify the DMA number to use in the GX function. You can also specify <CODE>GX_DMA_NOT_USE</CODE> in the argument to not use the DMA.<br> <FONT color="#800000">Before calling this function, <CODE><A href="../../os/spinLock/OS_InitLock.html">OS_InitLock( )</A></CODE> or <CODE><A href="../../os/init/OS_Init.html">OS_Init( )</A></CODE> must be called.</FONT> 36</P> 37<h2>See Also</h2> 38<P><code><A href="GX_Init.html">GX_Init</A>, <A href="../g3/G3X_Init.html">G3X_Init</A>, <A href="../g3/G3X_Reset.html">G3X_Reset</A>, <A href="../g3/G3X_InitTable.html">G3X_InitTable</A></code></P> 39<H2>Revision History</H2> 40<P>2005/03/14</P> 41<UL> 42 <LI>Corrected link errors. 43</UL> 44<P>2005/02/18</P> 45<UL> 46 <LI>Added warning that <code>OS_Init</code> must be called in advance. 47</UL> 48<P> 492004/07/28 Initial version. 50</P> 51<hr><p>CONFIDENTIAL</p></body> 52</html> 53