GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GNAT / V2-0-1 > gnat_xbrd / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

xbrd_err.h File Reference

Defines public error codes for the transition board interface. More...


Defines

#define XBRD_ERR_BASE   (-1000)
 base of all XBRD ERROR codes
#define XBRD_ERR   (XBRD_ERR_BASE)
 generic XBRD error
#define XBRD_ERR_MEM   (XBRD_ERR_BASE - 1)
 allocating memory error return code
#define XBRD_ERR_BAD_HANDLE   (XBRD_ERR_BASE - 2)
 bad handle error return code
#define XBRD_ERR_BAD_PARAM   (XBRD_ERR_BASE - 3)
 bad parameter passed to function error return code
#define XBRD_ERR_BRD_DETECT   (XBRD_ERR_BASE - 4)
 Transition board not detected.
#define XBRD_ERR_NO_IRQ_LEVEL   (XBRD_ERR_BASE - 5)
 The value of the environment variable XBRD_VME_IRQ_LEVEL could not be found.
#define XBRD_ERR_NO_IRQ_VECTOR   (XBRD_ERR_BASE - 6)
 The value of the environment variable XBRD_VME_IRQ_VECTOR could not be found.
#define XBRD_ERR_NO_VME_ADDRESS   (XBRD_ERR_BASE - 7)
 The value of the environment variable XBRD_VME_ADDRESS could not be found.
#define XBRD_ERR_ADDR_MAP   (XBRD_ERR_BASE - 8)
 Unable to map the physical address to the logical address.
#define XBRD_ERR_BOARD_VERSION   (XBRD_ERR_BASE - 9)
 Bad hardware version.
#define XBRD_ERR_DAC_NOT_READY   (XBRD_ERR_BASE - 10)
 On read, DAC "configuration complete" bit was not set.
#define XBRD_ERR_ADC_NOT_READY   (XBRD_ERR_BASE - 11)
 On read, ADC "acquire complete" bit was not set.


Detailed Description

Defines public error codes for the transition board interface.

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

Generated on Wed Nov 21 22:06:20 2012 by  doxygen 1.5.8