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<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20void LCQueueWait(u32 len); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>len</TH> 27<TD>Number of transactions allowed in the DMA queue when returning from this function.</TD> 28 </tr> 29</TABLE> 30 31<h2>Return Values</h2> 32<p>None.</p> 33 34<H2>Description</H2> 35<P>Polls the DMA queue length until it is less than or equal to <SPAN class="argument">len</SPAN>. This function is more efficient than polling using the <A href="LCQueueLength.html"><CODE>LCQueueLength</CODE></A> function.</P> 36<P>See the code examples for the <A href="LCStoreData.html"><CODE>LCStoreData</CODE></A> and <A href="LCStoreBlocks.html"><CODE>LCStoreBlocks</CODE></A> functions for sample usage.</P> 37 38<h2>See Also</h2> 39<P class="reference"> 40<A href="../toc.html#Cache" target="contents">Cache Functions</A>, 41<a href="LCStoreData.html">LCStoreData</a>, 42<a href="LCStoreBlocks.html">LCStoreBlocks</a>, 43<a href="LCLoadData.html">LCLoadData</a>, 44<a href="LCLoadBlocks.html">LCLoadBlocks</a>, 45<a href="LCQueueLength.html">LCQueueLength</a> 46</p> 47 48<h2>Revision History</h2> 49<P> 502006/03/01 Initial version.<br> 51</P> 52 53<hr><p>CONFIDENTIAL</p></body> 54</html>