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>GXGetFifoCount</title>
10</head>
11
12<body>
13
14<h1 align="left">GXGetFifoCount</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE></dd>
21  <dd><pre><CODE>u32 GXGetFifoCount( const <A href="../Structures/GXFifoObj.html">GXFifoObj</A>* fifo );</CODE></pre></dd>
22</dl>
23<h2>Arguments</h2>
24<div align="left">
25<TABLE border="1" cellpadding="3" cellspacing="0.1">
26  <tr>
27<TD width="120" bgcolor="#ffffe8"><code><strong><em>fifo</em></strong></code></TD>
28<TD width="520">A pointer to the FIFO structure</TD>
29    </tr>
30</TABLE>
31</div>
32
33<h2>Return Values</h2>
34
35<p>This function returns the counter of the specified FIFO object.</p>
36<H2>Description</H2>
37<P>This function returns the counter (number of data items that have accumulated in the FIFO) of the specified FIFO object. It is used when you want to get the value of each setting from the FIFO state obtained using either <code><a href="GXGetCPUFifo.html">GXGetCPUFifo</a></code> or <code><a href="GXGetGPFifo.html">GXGetGPFifo</a></code>.</P>
38
39
40<h2>See Also</h2>
41
42<p>
43<code><a href="GXGetCPUFifo.html">GXGetCPUFifo</a></code><br> <code><a href="GXGetGPFifo.html">GXGetGPFifo</a></code><br>
44</p>
45
46<H2>Revision History</H2>
47<P>03/01/2006 Initial version.</P></body>
48</html>