CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

struct  fedt_struct
 

Macros

#define FED_CRC_MODIFIED_EXTRACT(a)   ( ( (a) >> FED_CRC_MODIFIED_SHIFT ) & FED_CRC_MODIFIED_WIDTH )
 
#define FED_CRC_MODIFIED_MASK   ( FED_CRC_MODIFIED_WIDTH << FED_CRC_MODIFIED_SHIFT )
 
#define FED_CRC_MODIFIED_SHIFT   2
 
#define FED_CRC_MODIFIED_WIDTH   0x00000001
 
#define FED_CRCS_EXTRACT(a)    ( ( (a) >> FED_CRCS_SHIFT ) & FED_CRCS_WIDTH )
 
#define FED_CRCS_MASK   ( FED_CRCS_WIDTH << FED_CRCS_SHIFT )
 
#define FED_CRCS_SHIFT   16
 
#define FED_CRCS_WIDTH   0x0000ffff
 
#define FED_EVSZ_EXTRACT(a)    ( ( (a) >> FED_EVSZ_SHIFT ) & FED_EVSZ_WIDTH )
 
#define FED_EVSZ_MASK   ( FED_EVSZ_WIDTH << FED_EVSZ_SHIFT )
 
#define FED_EVSZ_SHIFT   0
 
#define FED_EVSZ_WIDTH   0x00ffffff
 
#define FED_MORE_TRAILERS_EXTRACT(a)   ( ( (a) >> FED_MORE_TRAILERS_SHIFT ) & FED_MORE_TRAILERS_WIDTH )
 
#define FED_MORE_TRAILERS_MASK   ( FED_MORE_TRAILERS_WIDTH << FED_MORE_TRAILERS_SHIFT )
 
#define FED_MORE_TRAILERS_SHIFT   3
 
#define FED_MORE_TRAILERS_WIDTH   0x00000001
 
#define FED_SLINK_END_MARKER   0xa
 
#define FED_SLINK_ERROR_EXTRACT(a)    ( ( (a) >> FED_SLINK_ERROR_SHIFT ) & FED_SLINK_ERROR_WIDTH )
 
#define FED_SLINK_ERROR_MASK   ( FED_SLINK_ERROR_WIDTH << FED_SLINK_ERROR_SHIFT )
 
#define FED_SLINK_ERROR_SHIFT   14
 
#define FED_SLINK_ERROR_WIDTH   0x00000001
 
#define FED_STAT_EXTRACT(a)    ( ( (a) >> FED_STAT_SHIFT ) & FED_STAT_WIDTH )
 
#define FED_STAT_MASK   ( FED_STAT_WIDTH << FED_STAT_SHIFT )
 
#define FED_STAT_SHIFT   8
 
#define FED_STAT_WIDTH   0x0000000f
 
#define FED_TCTRLID_EXTRACT(a)    ( ( (a) >> FED_TCTRLID_SHIFT ) & FED_TCTRLID_WIDTH )
 
#define FED_TCTRLID_MASK   ( FED_TCTRLID_WIDTH << FED_TCTRLID_SHIFT )
 
#define FED_TCTRLID_SHIFT   28
 
#define FED_TCTRLID_WIDTH   0x0000000f
 
#define FED_TTSI_EXTRACT(a)    ( ( (a) >> FED_TTSI_SHIFT ) & FED_TTSI_WIDTH )
 
#define FED_TTSI_MASK   ( FED_TTSI_WIDTH << FED_TTSI_SHIFT )
 
#define FED_TTSI_SHIFT   4
 
#define FED_TTSI_WIDTH   0x0000000f
 
#define FED_WRONG_FEDID_EXTRACT(a)    ( ( (a) >> FED_WRONG_FEDID_SHIFT ) & FED_WRONG_FEDID_WIDTH )
 
#define FED_WRONG_FEDID_MASK   ( FED_WRONG_FEDID_WIDTH << FED_WRONG_FEDID_SHIFT )
 
#define FED_WRONG_FEDID_SHIFT   15
 
#define FED_WRONG_FEDID_WIDTH   0x00000001
 

Typedefs

typedef struct fedt_struct fedt_t
 

Macro Definition Documentation

#define FED_CRC_MODIFIED_EXTRACT (   a)    ( ( (a) >> FED_CRC_MODIFIED_SHIFT ) & FED_CRC_MODIFIED_WIDTH )

Definition at line 62 of file fed_trailer.h.

Referenced by FEDTrailer::crcModified().

#define FED_CRC_MODIFIED_MASK   ( FED_CRC_MODIFIED_WIDTH << FED_CRC_MODIFIED_SHIFT )

Definition at line 61 of file fed_trailer.h.

#define FED_CRC_MODIFIED_SHIFT   2

Definition at line 60 of file fed_trailer.h.

#define FED_CRC_MODIFIED_WIDTH   0x00000001

Definition at line 59 of file fed_trailer.h.

#define FED_CRCS_EXTRACT (   a)    ( ( (a) >> FED_CRCS_SHIFT ) & FED_CRCS_WIDTH )

Definition at line 42 of file fed_trailer.h.

Referenced by FEDTrailer::crc().

#define FED_CRCS_MASK   ( FED_CRCS_WIDTH << FED_CRCS_SHIFT )

Definition at line 41 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_CRCS_SHIFT   16

Definition at line 40 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_CRCS_WIDTH   0x0000ffff

Definition at line 39 of file fed_trailer.h.

#define FED_EVSZ_EXTRACT (   a)    ( ( (a) >> FED_EVSZ_SHIFT ) & FED_EVSZ_WIDTH )

Definition at line 37 of file fed_trailer.h.

Referenced by FEDTrailer::fragmentLength().

#define FED_EVSZ_MASK   ( FED_EVSZ_WIDTH << FED_EVSZ_SHIFT )

Definition at line 36 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_EVSZ_SHIFT   0

Definition at line 35 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_EVSZ_WIDTH   0x00ffffff

Definition at line 34 of file fed_trailer.h.

#define FED_MORE_TRAILERS_EXTRACT (   a)    ( ( (a) >> FED_MORE_TRAILERS_SHIFT ) & FED_MORE_TRAILERS_WIDTH )

Definition at line 57 of file fed_trailer.h.

Referenced by FEDTrailer::moreTrailers().

#define FED_MORE_TRAILERS_MASK   ( FED_MORE_TRAILERS_WIDTH << FED_MORE_TRAILERS_SHIFT )

Definition at line 56 of file fed_trailer.h.

#define FED_MORE_TRAILERS_SHIFT   3

Definition at line 55 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_MORE_TRAILERS_WIDTH   0x00000001

Definition at line 54 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_SLINK_END_MARKER   0xa

Definition at line 27 of file fed_trailer.h.

Referenced by FEDTrailer::check(), and FEDTrailer::set().

#define FED_SLINK_ERROR_EXTRACT (   a)    ( ( (a) >> FED_SLINK_ERROR_SHIFT ) & FED_SLINK_ERROR_WIDTH )

Definition at line 67 of file fed_trailer.h.

Referenced by FEDTrailer::slinkError().

#define FED_SLINK_ERROR_MASK   ( FED_SLINK_ERROR_WIDTH << FED_SLINK_ERROR_SHIFT )

Definition at line 66 of file fed_trailer.h.

#define FED_SLINK_ERROR_SHIFT   14

Definition at line 65 of file fed_trailer.h.

#define FED_SLINK_ERROR_WIDTH   0x00000001

Definition at line 64 of file fed_trailer.h.

#define FED_STAT_EXTRACT (   a)    ( ( (a) >> FED_STAT_SHIFT ) & FED_STAT_WIDTH )

Definition at line 47 of file fed_trailer.h.

Referenced by FEDTrailer::evtStatus().

#define FED_STAT_MASK   ( FED_STAT_WIDTH << FED_STAT_SHIFT )

Definition at line 46 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_STAT_SHIFT   8

Definition at line 45 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_STAT_WIDTH   0x0000000f

Definition at line 44 of file fed_trailer.h.

#define FED_TCTRLID_EXTRACT (   a)    ( ( (a) >> FED_TCTRLID_SHIFT ) & FED_TCTRLID_WIDTH )

Definition at line 32 of file fed_trailer.h.

Referenced by FEDTrailer::check().

#define FED_TCTRLID_MASK   ( FED_TCTRLID_WIDTH << FED_TCTRLID_SHIFT )

Definition at line 31 of file fed_trailer.h.

#define FED_TCTRLID_SHIFT   28

Definition at line 30 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_TCTRLID_WIDTH   0x0000000f

Definition at line 29 of file fed_trailer.h.

#define FED_TTSI_EXTRACT (   a)    ( ( (a) >> FED_TTSI_SHIFT ) & FED_TTSI_WIDTH )

Definition at line 52 of file fed_trailer.h.

Referenced by FEDTrailer::ttsBits().

#define FED_TTSI_MASK   ( FED_TTSI_WIDTH << FED_TTSI_SHIFT )

Definition at line 51 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_TTSI_SHIFT   4

Definition at line 50 of file fed_trailer.h.

Referenced by FEDTrailer::set().

#define FED_TTSI_WIDTH   0x0000000f

Definition at line 49 of file fed_trailer.h.

#define FED_WRONG_FEDID_EXTRACT (   a)    ( ( (a) >> FED_WRONG_FEDID_SHIFT ) & FED_WRONG_FEDID_WIDTH )

Definition at line 72 of file fed_trailer.h.

Referenced by FEDTrailer::wrongFedId().

#define FED_WRONG_FEDID_MASK   ( FED_WRONG_FEDID_WIDTH << FED_WRONG_FEDID_SHIFT )

Definition at line 71 of file fed_trailer.h.

#define FED_WRONG_FEDID_SHIFT   15

Definition at line 70 of file fed_trailer.h.

#define FED_WRONG_FEDID_WIDTH   0x00000001

Definition at line 69 of file fed_trailer.h.

Typedef Documentation

typedef struct fedt_struct fedt_t