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 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MI_IsDmaBusy</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_IsDmaBusy <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<CODE>#include &lt;nitro/mi.h&gt;</CODE><BR>
20  <BR>
21  <CODE>BOOL MI_IsDmaBusy( u32 dmaNo )</CODE><br>
22  </dd>
23</dl>
24<h2>Arguments</h2>
25<TABLE border="1" width="100%">
26  <TBODY>
27    <TR>
28      <TD width="13%"><EM><STRONG>dmaNo</STRONG></EM></TD>
29      <TD width="87%">DMA channel used.</TD>
30    </TR>
31  </TBODY>
32</TABLE>
33
34<h2>Return Values</h2>
35<p>Returns whether the specified DMA channel is being used.</p>
36
37<H2>Description</H2>
38<P>This function checks whether the specified DMA channel is being used. A <CODE>TRUE</CODE> return value indicates that it is still busy.</P>
39<h2>Internal Operation</h2>
40<P>Uses the following I/O register: DMAn control register (0x40000B8 + 12n). (<i>n</i> is the DMA channel used.)</P>
41<h2>See Also</h2>
42<p><CODE><A href="MI_DmaCopy.html">MI_DmaCopy*</A>, <A href="MI_WaitDma.html">MI_WaitDma</A></CODE></p>
43
44<H2>Revision History</H2>
45<P>2003/12/01 Initial version.</P>
46<hr><p>CONFIDENTIAL</p></body>
47</html>
48