GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > ebf_extract / rhel4-32
#include <PBI/Endianness.h>
Classes | |
struct | _EBF_ebw_bf |
Layout of a LATP cell + EBM word. More... | |
struct | _EBF_ebw_us |
Layout of a LATP cell + EBM word as unsigned short ints. More... | |
union | _EBF_ebw |
Defines the LATP cell header and EBM word as a union between an unsigned int and the bit field structure. More... | |
Defines | |
#define | EBF_EBW_LEN_TO_BYTES(_len) ((_len) << 4) |
Converts the contributor length found in the Event Builder word to bytes. | |
Typedefs | |
typedef enum _EBF_EBW_S | EBF_EBW_S |
Typedef for enum _EBF_EBW_S. | |
typedef enum _EBF_EBW_V | EBF_EBW_V |
Typedef for enum _EBF_EBW_V. | |
typedef enum _EBF_EBW_M | EBF_EBW_M |
Typedef for enum _EBF_EBW_M. | |
typedef struct _EBF_ebw_bf | EBF_ebw_bf |
typedef for union _EBF_ebw_bf | |
typedef struct _EBF_ebw_us | EBF_ebw_us |
typedef for union _EBF_ebw_us | |
typedef union _EBF_ebw | EBF_ebw |
Typedef for union _EBF_ebw. | |
Enumerations | |
enum | _EBF_EBW_S { EBF_EBW_S_LEN = 8, EBF_EBW_S_SEQ = 5, EBF_EBW_S_ERR = 3, EBF_EBW_S_PARITY = 1, EBF_EBW_S_SRC = 6, EBF_EBW_S_PROTO = 2, EBF_EBW_S_DST = 6, EBF_EBW_S_DSTU = 5, EBF_EBW_S_DSTMB1 = 1, EBF_EBW_S_RSP = 1 } |
Bit fields of the LATP cell header + EBM word, size in bits. More... | |
enum | _EBF_EBW_V { EBF_EBW_V_LEN = 0, EBF_EBW_V_SEQ = SHIFT (EBF_EBW, LEN), EBF_EBW_V_ERR = SHIFT (EBF_EBW, SEQ), EBF_EBW_V_PARITY = SHIFT (EBF_EBW, ERR), EBF_EBW_V_SRC = SHIFT (EBF_EBW, PARITY), EBF_EBW_V_PROTO = SHIFT (EBF_EBW, SRC), EBF_EBW_V_DST = SHIFT (EBF_EBW, PROTO), EBF_EBW_V_DSTU = SHIFT (EBF_EBW, PROTO), EBF_EBW_V_DSTMB1 = SHIFT (EBF_EBW, DSTU), EBF_EBW_V_RSP = SHIFT (EBF_EBW, DST) } |
Bit fields of the LATP cell + EBM word, right offset. More... | |
enum | _EBF_EBW_M { EBF_EBW_M_LEN = MASK (EBF_EBW, LEN), EBF_EBW_M_SEQ = MASK (EBF_EBW, SEQ), EBF_EBW_M_ERR = MASK (EBF_EBW, ERR), EBF_EBW_M_PARITY = MASK (EBF_EBW, PARITY), EBF_EBW_M_SRC = MASK (EBF_EBW, SRC), EBF_EBW_M_PROTO = MASK (EBF_EBW, PROTO), EBF_EBW_M_DST = MASK (EBF_EBW, DST), EBF_EBW_M_DSTU = MASK (EBF_EBW, DSTU), EBF_EBW_M_DSTMB1 = MASK (EBF_EBW, DSTMB1), EBF_EBW_M_RSP = MASK (EBF_EBW, RSP) } |
Bit fields of the LATP cell + EBM word, in place mask. More... |
CVS $Id: EBF_ebw.h,v 1.6 2011/03/25 22:16:54 russell Exp $
#define EBF_EBW_LEN_TO_BYTES | ( | _len | ) | ((_len) << 4) |
Converts the contributor length found in the Event Builder word to bytes.
_len | The length to convert |
Referenced by EBF__ctbSize(), and EBF__dirCtbLen().
enum _EBF_EBW_M |
Bit fields of the LATP cell + EBM word, in place mask.
enum _EBF_EBW_S |
Bit fields of the LATP cell header + EBM word, size in bits.
enum _EBF_EBW_V |
Bit fields of the LATP cell + EBM word, right offset.