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_SetDefaultNDMA</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">GX_SetDefaultNDMA <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
21u32 GX_SetDefaultNDMA(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"><EM><STRONG><FONT face="Courier New">ndma_no</FONT></STRONG></EM></TD>
28<TD width="609">Specifies the NDMA to use with GX functions.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32<h2>Return Values</h2>
33<p>Returns the settings before this function was called.<BR>Returns <CODE>GX_DMA_NOT_USE</CODE> if DMA had been configured to be used instead of NDMA.</P>
34<H2>Description</H2>
35<P>This function changes the NDMA number used by GX functions. You can specify <CODE>GX_DMA_NOT_USE</CODE> as an argument to not use DMA or NDMA.<BR><BR>This function will cause NDMA to be used instead of the DMA configured by the <CODE><A href="GX_SetDefaultDMA.html">GX_SetDefaultDMA</A></CODE> function. Consequently, note that the value set by the <CODE><A href="GX_SetDefaultDMA.html">GX_SetDefaultDMA</A></CODE> function will be deleted.
36</P>
37<h2>See Also</h2>
38<P><A href="GX_SetDefaultDMA.html">GX_SetDefaultDMA</A>, <A href="GX_GetDefaultNDMA.html">GX_GetDefaultNDMA</A></P>
39<H2>Revision History</H2>
40<P>
412008/06/05 Initial version.</P>
42<hr><p>CONFIDENTIAL</p></body>
43</html>
44