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>G3X_GetCommandFifoStatus</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">G3X_GetCommandFifoStatus <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<PRE><CODE>#include <nitro/gx/g3x.h> 20 21GXFifoStat G3X_GetCommandFifoStatus(void);<BR></CODE></PRE> 22 </dd> 23</dl><h2>Arguments</h2> 24<P>None.</P> 25<h2>Return Values</h2> 26<p>General status of the Command FIFO.</p> 27<H2>Description</H2> 28<P>This function returns the Command FIFO status as one of four states: Empty, Less than half full, More than half full, or Full.<BR> 29</P> 30<TABLE border="1"> 31 <TBODY> 32 <TR> 33 <TD width="30%"><CODE>GX_FIFOSTAT_EMPTY</CODE></TD> 34 <TD>Command FIFO is empty.</TD> 35 </TR> 36 <TR> 37 <TD><CODE>GX_FIFOSTAT_UNDERHALF</CODE></TD> 38 <TD>Command FIFO is less than half full but it is not empty.</TD> 39 </TR> 40 <TR> 41 <TD><CODE>GX_FIFOSTAT_OVERHALF</CODE></TD> 42 <TD>Command FIFO is more than half full but it is not full.</TD> 43 </TR> 44 <TR> 45 <TD><CODE>GX_FIFOSTAT_FULL</CODE></TD> 46 <TD>Command FIFO is full.</TD> 47 </TR> 48 </TBODY> 49</TABLE> 50<P>The following describes the type definition for the <code>GXFifoStat</code> format.</P> 51<PRE><CODE>typedef enum 52{ 53 GX_FIFOSTAT_EMPTY = 6, 54 GX_FIFOSTAT_UNDERHALF = 2, 55 GX_FIFOSTAT_OVERHALF = 0, 56 GX_FIFOSTAT_FULL = 1 57} 58GXFifoStat;</CODE></PRE> 59<h2>See Also</h2> 60<H2>Revision History</H2> 61<P>2004/01/19 Initial version.</P> 62<hr><p>CONFIDENTIAL</p></body> 63</html> 64