GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GNAT / V2-0-1 > gnat_trg / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

gnat.h File Reference

Defines public aspects of the GNAT driver. More...

#include "GNAT/gerr.h"

Defines

#define MAX_BNDL_DEPTH   (5)
 Maximum depth of a channel bundle.
#define MAX_CHANNEL   (15)
 Maximum out going channel number.
#define _CHECK(status)
 Checks if the status value is G_OK, returns if not.

Typedefs

typedef struct _gnatgnatHandle
 Typedef for struct _gnat*.


Detailed Description

Defines public aspects of the GNAT driver.

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

Define Documentation

#define _CHECK ( status   ) 

Value:

if ( (status) != G_OK ) {                       \
  return status;                                \
}
Checks if the status value is G_OK, returns if not.

#define MAX_BNDL_DEPTH   (5)

Maximum depth of a channel bundle.

5 is deep enough to hold 1 cell -- That's enough space for 5 * 32 bits of serial information. 1 cell is 128 bits ( 4 * 32 ).

#define MAX_CHANNEL   (15)

Maximum out going channel number.

Valid channel numbers range from 0 to MAX_CHANNEL.


Generated on Fri Sep 30 19:18:02 2011 by  doxygen 1.5.8