GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-10-1 > edsd / mv2304
#include "EDS/EDS_endianness.h"
Classes | |
struct | _EBF_edw_bf |
Map of LCB event descriptor word with broken down status fields. More... | |
union | _EBF_edw |
Union of the 32-bit integer representation and the bit-field representation of the event descriptor word. More... | |
Defines | |
#define | EBF_EDW_LEN_TO_BYTES(_edw_len) ((_edw_len) * sizeof (int)) |
Convervsion of the len field found in EBF_edw_bf to bytes. | |
Typedefs | |
typedef enum _EBF_EDW_RSTATUS_K | EBF_EDW_RSTATUS_K |
Typedef for enum _EBF_EDW_RSTATUS_K. | |
typedef enum _EBF_EDW_XSTATUS_K | EBF_EDW_XSTATUS_K |
Typedef for enum _EBF_EDW_XSTATUS_K. | |
typedef enum _EBF_EDW_S | EBF_EDW_S |
Typedef for enum _EBF_EDW_S. | |
typedef enum _EBF_EDW_V | EBF_EDW_V |
Typedef for enum _EBF_EDW_V. | |
typedef enum _EBF_EDW_M | EBF_EDW_M |
Typedef for enum _EBF_EDW_M. | |
typedef struct _EBF_edw_bf | EBF_edw_bf |
typedef for struct _EBF_edw_bf | |
typedef union _EBF_edw | EBF_edw |
Typedef for union _EBF_edw. | |
Enumerations | |
enum | _EBF_EDW_RSTATUS_K { EBF_EDW_RSTATUS_K_SUCCESS = 0, EBF_EDW_RSTATUS_K_UNDEFINED_1 = 1, EBF_EDW_RSTATUS_K_INVALID_DATA_PARITY = 2, EBF_EDW_RSTATUS_K_PACKET_TRUNCATED = 3, EBF_EDW_RSTATUS_K_CNT = 4 } |
Enumerates the values of the receive status field in the event descriptor word. More... | |
enum | _EBF_EDW_XSTATUS_K { EBF_EDW_XSTATUS_K_SUCCESS = 0, EBF_EDW_XSTATUS_K_PCI_MASTER_ABORT = 1, EBF_EDW_XSTATUS_K_PCI_PARITY_ERROR = 2, EBF_EDW_XSTATUS_K_PCI_TARGET_ABORT = 3, EBF_EDW_XSTATUS_K_UNDEFINED_4 = 4, EBF_EDW_XSTATUS_K_BUFFER_EMPTY = 5, EBF_EDW_XSTATUS_K_UNDEFINED_6 = 6, EBF_EDW_XSTATUS_K_Q_EMPTY = 7, EBF_EDW_XSTATUS_K_CNT = 8 } |
Enumerates the values of the transfer status field in the event descriptor word. More... | |
enum | _EBF_EDW_S { EBF_EDW_S_OFFSET = 17, EBF_EDW_S_LEN = 10, EBF_EDW_S_STATUS = 5, EBF_EDW_S_XSTATUS = 3, EBF_EDW_S_RSTATUS = 2 } |
Size, in bits, of the event descriptor word fields. More... | |
enum | _EBF_EDW_V { EBF_EDW_V_OFFSET = 0, EBF_EDW_V_LEN = 17, EBF_EDW_V_STATUS = 27, EBF_EDW_V_XSTATUS = 27, EBF_EDW_V_RSTATUS = 30 } |
Right justified bit offsets of the event descriptor fields. More... | |
enum | _EBF_EDW_M { EBF_EDW_M_OFFSET = 0x0001FFFF, EBF_EDW_M_LEN = 0x07FE0000, EBF_EDW_M_STATUS = 0xF8000000, EBF_EDW_M_XSTATUS = 0x38000000, EBF_EDW_M_RSTATUS = 0xC0000000 } |
Masks of the event descriptor word fields. More... | |
Functions | |
static __inline int | EBF__edwSize (unsigned int edw) |
Returns the size, in bytes, of the data associated with the specified event descriptor word. | |
static __inline int | EBF__edwPktSize (unsigned int edw) |
Returns the size, in bytes, of the packet associated with the specified event descriptor word. |
CVS $Id: EBF_edw.h,v 1.3 2005/10/13 22:00:52 russell Exp $
#define EBF_EDW_LEN_TO_BYTES | ( | _edw_len | ) | ((_edw_len) * sizeof (int)) |
Convervsion of the len field found in EBF_edw_bf to bytes.
_edw_len | The value of event descriptor's length field. |
Typedef for enum _EBF_EDW_RSTATUS_K.
Typedef for enum _EBF_EDW_XSTATUS_K.
enum _EBF_EDW_M |
Masks of the event descriptor word fields.
enum _EBF_EDW_RSTATUS_K |
Enumerates the values of the receive status field in the event descriptor word.
enum _EBF_EDW_S |
Size, in bits, of the event descriptor word fields.
enum _EBF_EDW_V |
Right justified bit offsets of the event descriptor fields.
enum _EBF_EDW_XSTATUS_K |
Enumerates the values of the transfer status field in the event descriptor word.
static __inline int EBF__edwPktSize | ( | unsigned int | edw | ) | [static] |
Returns the size, in bytes, of the packet associated with the specified event descriptor word.
edw | The event descriptor word |
static __inline int EBF__edwSize | ( | unsigned int | edw | ) | [static] |
Returns the size, in bytes, of the data associated with the specified event descriptor word.
edw | The event descriptor word |