G3X_GetCommandFifoStatus

C Specification

#include <nitro/gx/g3x.h>

GXFifoStat G3X_GetCommandFifoStatus(void);

Arguments

None.

Return Values

General status of the Command FIFO.

Description

This function returns the Command FIFO status as one of four states: Empty, Less than half full, More than half full, or Full.

GX_FIFOSTAT_EMPTY Command FIFO is empty.
GX_FIFOSTAT_UNDERHALF Command FIFO is less than half full but it is not empty.
GX_FIFOSTAT_OVERHALF Command FIFO is more than half full but it is not full.
GX_FIFOSTAT_FULL Command FIFO is full.

The following describes the type definition for the GXFifoStat format.

typedef enum
{
GX_FIFOSTAT_EMPTY = 6,
GX_FIFOSTAT_UNDERHALF = 2,
GX_FIFOSTAT_OVERHALF = 0,
GX_FIFOSTAT_FULL = 1
}
GXFifoStat;

See Also

Revision History

01/19/2004 Initial version