CMS 3D CMS Logo

Classes | Macros | Typedefs
fed_header.h File Reference
#include <cstdint>

Go to the source code of this file.

Classes

struct  fedh_struct
 

Macros

#define FED_BXID_EXTRACT(a)   (((a) >> FED_BXID_SHIFT) & FED_BXID_WIDTH)
 
#define FED_BXID_MASK   (FED_BXID_WIDTH << FED_BXID_SHIFT)
 
#define FED_BXID_SHIFT   20
 
#define FED_BXID_WIDTH   0x00000fff
 
#define FED_EVTY_EXTRACT(a)   (((a) >> FED_EVTY_SHIFT) & FED_EVTY_WIDTH)
 
#define FED_EVTY_MASK   (FED_EVTY_WIDTH << FED_EVTY_SHIFT)
 
#define FED_EVTY_SHIFT   24
 
#define FED_EVTY_WIDTH   0x0000000f
 
#define FED_HCTRLID_EXTRACT(a)   (((a) >> FED_HCTRLID_SHIFT) & FED_HCTRLID_WIDTH)
 
#define FED_HCTRLID_MASK   (FED_HCTRLID_WIDTH << FED_HCTRLID_SHIFT)
 
#define FED_HCTRLID_SHIFT   28
 
#define FED_HCTRLID_WIDTH   0x0000000f
 
#define FED_LVL1_EXTRACT(a)   (((a) >> FED_LVL1_SHIFT) & FED_LVL1_WIDTH)
 
#define FED_LVL1_MASK   (FED_LVL1_WIDTH << FED_LVL1_SHIFT)
 
#define FED_LVL1_SHIFT   0
 
#define FED_LVL1_WIDTH   0x00ffffff
 
#define FED_MORE_HEADERS_EXTRACT(a)   (((a) >> FED_MORE_HEADERS_SHIFT) & FED_MORE_HEADERS_WIDTH)
 
#define FED_MORE_HEADERS_MASK   (FED_MORE_HEADERS_WIDTH << FED_MORE_HEADERS_SHIFT)
 
#define FED_MORE_HEADERS_SHIFT   3
 
#define FED_MORE_HEADERS_WIDTH   0x00000001
 
#define FED_SLINK_START_MARKER   0x5
 
#define FED_SOID_EXTRACT(a)   (((a) >> FED_SOID_SHIFT) & FED_SOID_WIDTH)
 
#define FED_SOID_MASK   (FED_SOID_WIDTH << FED_SOID_SHIFT)
 
#define FED_SOID_SHIFT   8
 
#define FED_SOID_WIDTH   0x00000fff
 
#define FED_VERSION_EXTRACT(a)   (((a) >> FED_VERSION_SHIFT) & FED_VERSION_WIDTH)
 
#define FED_VERSION_MASK   (FED_VERSION_WIDTH << FED_VERSION_SHIFT)
 
#define FED_VERSION_SHIFT   4
 
#define FED_VERSION_WIDTH   0x0000000f
 

Typedefs

typedef struct fedh_struct fedh_t
 

Macro Definition Documentation

◆ FED_BXID_EXTRACT

#define FED_BXID_EXTRACT (   a)    (((a) >> FED_BXID_SHIFT) & FED_BXID_WIDTH)

Definition at line 44 of file fed_header.h.

◆ FED_BXID_MASK

#define FED_BXID_MASK   (FED_BXID_WIDTH << FED_BXID_SHIFT)

Definition at line 43 of file fed_header.h.

◆ FED_BXID_SHIFT

#define FED_BXID_SHIFT   20

Definition at line 42 of file fed_header.h.

◆ FED_BXID_WIDTH

#define FED_BXID_WIDTH   0x00000fff

Definition at line 41 of file fed_header.h.

◆ FED_EVTY_EXTRACT

#define FED_EVTY_EXTRACT (   a)    (((a) >> FED_EVTY_SHIFT) & FED_EVTY_WIDTH)

Definition at line 34 of file fed_header.h.

◆ FED_EVTY_MASK

#define FED_EVTY_MASK   (FED_EVTY_WIDTH << FED_EVTY_SHIFT)

Definition at line 33 of file fed_header.h.

◆ FED_EVTY_SHIFT

#define FED_EVTY_SHIFT   24

Definition at line 32 of file fed_header.h.

◆ FED_EVTY_WIDTH

#define FED_EVTY_WIDTH   0x0000000f

Definition at line 31 of file fed_header.h.

◆ FED_HCTRLID_EXTRACT

#define FED_HCTRLID_EXTRACT (   a)    (((a) >> FED_HCTRLID_SHIFT) & FED_HCTRLID_WIDTH)

Definition at line 29 of file fed_header.h.

◆ FED_HCTRLID_MASK

#define FED_HCTRLID_MASK   (FED_HCTRLID_WIDTH << FED_HCTRLID_SHIFT)

Definition at line 28 of file fed_header.h.

◆ FED_HCTRLID_SHIFT

#define FED_HCTRLID_SHIFT   28

Definition at line 27 of file fed_header.h.

◆ FED_HCTRLID_WIDTH

#define FED_HCTRLID_WIDTH   0x0000000f

Definition at line 26 of file fed_header.h.

◆ FED_LVL1_EXTRACT

#define FED_LVL1_EXTRACT (   a)    (((a) >> FED_LVL1_SHIFT) & FED_LVL1_WIDTH)

Definition at line 39 of file fed_header.h.

◆ FED_LVL1_MASK

#define FED_LVL1_MASK   (FED_LVL1_WIDTH << FED_LVL1_SHIFT)

Definition at line 38 of file fed_header.h.

◆ FED_LVL1_SHIFT

#define FED_LVL1_SHIFT   0

Definition at line 37 of file fed_header.h.

◆ FED_LVL1_WIDTH

#define FED_LVL1_WIDTH   0x00ffffff

Definition at line 36 of file fed_header.h.

◆ FED_MORE_HEADERS_EXTRACT

#define FED_MORE_HEADERS_EXTRACT (   a)    (((a) >> FED_MORE_HEADERS_SHIFT) & FED_MORE_HEADERS_WIDTH)

Definition at line 59 of file fed_header.h.

◆ FED_MORE_HEADERS_MASK

#define FED_MORE_HEADERS_MASK   (FED_MORE_HEADERS_WIDTH << FED_MORE_HEADERS_SHIFT)

Definition at line 58 of file fed_header.h.

◆ FED_MORE_HEADERS_SHIFT

#define FED_MORE_HEADERS_SHIFT   3

Definition at line 57 of file fed_header.h.

◆ FED_MORE_HEADERS_WIDTH

#define FED_MORE_HEADERS_WIDTH   0x00000001

Definition at line 56 of file fed_header.h.

◆ FED_SLINK_START_MARKER

#define FED_SLINK_START_MARKER   0x5

Definition at line 24 of file fed_header.h.

◆ FED_SOID_EXTRACT

#define FED_SOID_EXTRACT (   a)    (((a) >> FED_SOID_SHIFT) & FED_SOID_WIDTH)

Definition at line 49 of file fed_header.h.

◆ FED_SOID_MASK

#define FED_SOID_MASK   (FED_SOID_WIDTH << FED_SOID_SHIFT)

Definition at line 48 of file fed_header.h.

◆ FED_SOID_SHIFT

#define FED_SOID_SHIFT   8

Definition at line 47 of file fed_header.h.

◆ FED_SOID_WIDTH

#define FED_SOID_WIDTH   0x00000fff

Definition at line 46 of file fed_header.h.

◆ FED_VERSION_EXTRACT

#define FED_VERSION_EXTRACT (   a)    (((a) >> FED_VERSION_SHIFT) & FED_VERSION_WIDTH)

Definition at line 54 of file fed_header.h.

◆ FED_VERSION_MASK

#define FED_VERSION_MASK   (FED_VERSION_WIDTH << FED_VERSION_SHIFT)

Definition at line 53 of file fed_header.h.

◆ FED_VERSION_SHIFT

#define FED_VERSION_SHIFT   4

Definition at line 52 of file fed_header.h.

◆ FED_VERSION_WIDTH

#define FED_VERSION_WIDTH   0x0000000f

Definition at line 51 of file fed_header.h.

Typedef Documentation

◆ fedh_t

typedef struct fedh_struct fedh_t