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="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>LCQueueWait</title>
10</head>
11
12<body>
13
14<h1>LCQueueWait</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/os.h&gt;</code></pre>
21  </dd>
22<dd><pre><code>void LCQueueWait (u32 len);</code></pre>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27<TABLE border="1" cellpadding="3" cellspacing="0.1">
28  <tr>
29<TD width="120" bgcolor="#ffffe8"><em><strong><code><code><EM><STRONG>len</STRONG></EM></code></code></strong></em></TD>
30<TD width="520"><span>Number of transfers allowed in the DMA queue when returning from this function.</span></TD>
31    </tr>
32</TABLE>
33<h2>Return Values</h2>
34
35<p>None.</p>
36<H2>Description</H2>
37<P>Polls the DMA queue length until it is &#x2264; <code><em><strong>len</strong></em></code>. Polling is more efficent with this function than the <code><a href="LCQueueLength.html">LCQueueLength</a></code> function.</P>
38<P>See how to use this function in the example code for the <code><a href="LCStoreData.html">LCStoreData</a></code> and <a href="LCStoreBlocks.html"><code>LCStoreBlocks</code></a> functions.</P>
39
40
41
42<h2>See Also</h2>
43
44<p><a href="../list.html#Cache" target="contents">Cache Functions</a>, <br> <code><a href="LCStoreData.html">LCStoreData</a>, <a href="LCStoreBlocks.html">LCStoreBlocks</a>, <a href="LCLoadData.html">LCLoadData</a>, <a href="LCLoadBlocks.html">LCLoadBlocks</a>, <a href="LCQueueLength.html">LCQueueLength</a></code></p>
45
46<h2>Revision History</h2>
47<P>03/01/2006 Initial version.</P>
48</body>
49</html>