GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GNAT / V2-0-0

Constituent: gnat_xbrd     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

gerr.h File Reference

Defines public error codes for the gnat driver. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define G_OK   (0)
 generic success return code

#define GERR   (-1)
 generic failure return code

#define GERR_MEM   (-101)
 allocating memory error return code

#define GERR_ADDR_MAP   (-102)
 mapping physical addr to local addr error return code

#define GERR_BRD_DETECT   (-103)
 unable to detect/probe board error return code

#define GERR_BAD_HANDLE   (-104)
 bad handle error return code

#define GERR_BAD_PARAM   (-105)
 bad parameter passed to function error return code

#define GERR_NO_MAP   (-106)
 physical to local address not mapped error return code

#define GERR_RSP_TIMEOUT   (-107)
 timeout error while reading response error return code

#define GERR_BAD_RSP   (-108)
 malformed command response request error return code

#define GERR_RSP_BUF_OVERFLOW   (-109)
 The response buffer was not big enough to hold the response.

#define GERR_READY_TIMEOUT   (-110)
 timeout error while waiting for COMM ready

#define GERR_BOARD_VERSION   (-111)
 Bad hardware version.

#define GERR_LATP_HEADER_PARITY   (-112)
 LATp cell header parity error.

#define GERR_LATP_CELL_PARITY   (-113)
 LATp cell body parity error.

#define GERR_LATP_TRUNCATE   (-114)
 LATp cell truncate error.

#define GERR_HANDLE_NOT_ACTIVE   (-115)
 Read attempted while handle has been disabled via gSetActive().

#define GERR_LATP_CELL_ANNOUNCE   (-116)
 LATp packet did not begin with proper cell announce bit and control cell bit.

#define GERR_RSP_FIFO_NOT_EMPTY   (-116)
 The response FIFO was not empty after reading one packet of response.


Detailed Description

Defines public error codes for the gnat driver.

Author:
Curt Brune -- curt@slac.stanford.edu

Define Documentation

#define GERR_RSP_FIFO_NOT_EMPTY   (-116)
 

The response FIFO was not empty after reading one packet of response.

Since the CMD/RSP path is a synchronous interface, each read command should create one and one response packet. This error means that more than one packet of data was in the FIFO while reading a response.


Generated on Thu Oct 21 08:26:18 2004 by doxygen 1.3.3