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

◆ FED_CRC_MODIFIED_EXTRACT

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

Definition at line 59 of file fed_trailer.h.

◆ FED_CRC_MODIFIED_MASK

#define FED_CRC_MODIFIED_MASK   (FED_CRC_MODIFIED_WIDTH << FED_CRC_MODIFIED_SHIFT)

Definition at line 58 of file fed_trailer.h.

◆ FED_CRC_MODIFIED_SHIFT

#define FED_CRC_MODIFIED_SHIFT   2

Definition at line 57 of file fed_trailer.h.

◆ FED_CRC_MODIFIED_WIDTH

#define FED_CRC_MODIFIED_WIDTH   0x00000001

Definition at line 56 of file fed_trailer.h.

◆ FED_CRCS_EXTRACT

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

Definition at line 39 of file fed_trailer.h.

◆ FED_CRCS_MASK

#define FED_CRCS_MASK   (FED_CRCS_WIDTH << FED_CRCS_SHIFT)

Definition at line 38 of file fed_trailer.h.

◆ FED_CRCS_SHIFT

#define FED_CRCS_SHIFT   16

Definition at line 37 of file fed_trailer.h.

◆ FED_CRCS_WIDTH

#define FED_CRCS_WIDTH   0x0000ffff

Definition at line 36 of file fed_trailer.h.

◆ FED_EVSZ_EXTRACT

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

Definition at line 34 of file fed_trailer.h.

◆ FED_EVSZ_MASK

#define FED_EVSZ_MASK   (FED_EVSZ_WIDTH << FED_EVSZ_SHIFT)

Definition at line 33 of file fed_trailer.h.

◆ FED_EVSZ_SHIFT

#define FED_EVSZ_SHIFT   0

Definition at line 32 of file fed_trailer.h.

◆ FED_EVSZ_WIDTH

#define FED_EVSZ_WIDTH   0x00ffffff

Definition at line 31 of file fed_trailer.h.

◆ FED_MORE_TRAILERS_EXTRACT

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

Definition at line 54 of file fed_trailer.h.

◆ FED_MORE_TRAILERS_MASK

#define FED_MORE_TRAILERS_MASK   (FED_MORE_TRAILERS_WIDTH << FED_MORE_TRAILERS_SHIFT)

Definition at line 53 of file fed_trailer.h.

◆ FED_MORE_TRAILERS_SHIFT

#define FED_MORE_TRAILERS_SHIFT   3

Definition at line 52 of file fed_trailer.h.

◆ FED_MORE_TRAILERS_WIDTH

#define FED_MORE_TRAILERS_WIDTH   0x00000001

Definition at line 51 of file fed_trailer.h.

◆ FED_SLINK_END_MARKER

#define FED_SLINK_END_MARKER   0xa

Definition at line 24 of file fed_trailer.h.

◆ FED_SLINK_ERROR_EXTRACT

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

Definition at line 64 of file fed_trailer.h.

◆ FED_SLINK_ERROR_MASK

#define FED_SLINK_ERROR_MASK   (FED_SLINK_ERROR_WIDTH << FED_SLINK_ERROR_SHIFT)

Definition at line 63 of file fed_trailer.h.

◆ FED_SLINK_ERROR_SHIFT

#define FED_SLINK_ERROR_SHIFT   14

Definition at line 62 of file fed_trailer.h.

◆ FED_SLINK_ERROR_WIDTH

#define FED_SLINK_ERROR_WIDTH   0x00000001

Definition at line 61 of file fed_trailer.h.

◆ FED_STAT_EXTRACT

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

Definition at line 44 of file fed_trailer.h.

◆ FED_STAT_MASK

#define FED_STAT_MASK   (FED_STAT_WIDTH << FED_STAT_SHIFT)

Definition at line 43 of file fed_trailer.h.

◆ FED_STAT_SHIFT

#define FED_STAT_SHIFT   8

Definition at line 42 of file fed_trailer.h.

◆ FED_STAT_WIDTH

#define FED_STAT_WIDTH   0x0000000f

Definition at line 41 of file fed_trailer.h.

◆ FED_TCTRLID_EXTRACT

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

Definition at line 29 of file fed_trailer.h.

◆ FED_TCTRLID_MASK

#define FED_TCTRLID_MASK   (FED_TCTRLID_WIDTH << FED_TCTRLID_SHIFT)

Definition at line 28 of file fed_trailer.h.

◆ FED_TCTRLID_SHIFT

#define FED_TCTRLID_SHIFT   28

Definition at line 27 of file fed_trailer.h.

◆ FED_TCTRLID_WIDTH

#define FED_TCTRLID_WIDTH   0x0000000f

Definition at line 26 of file fed_trailer.h.

◆ FED_TTSI_EXTRACT

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

Definition at line 49 of file fed_trailer.h.

◆ FED_TTSI_MASK

#define FED_TTSI_MASK   (FED_TTSI_WIDTH << FED_TTSI_SHIFT)

Definition at line 48 of file fed_trailer.h.

◆ FED_TTSI_SHIFT

#define FED_TTSI_SHIFT   4

Definition at line 47 of file fed_trailer.h.

◆ FED_TTSI_WIDTH

#define FED_TTSI_WIDTH   0x0000000f

Definition at line 46 of file fed_trailer.h.

◆ FED_WRONG_FEDID_EXTRACT

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

Definition at line 69 of file fed_trailer.h.

◆ FED_WRONG_FEDID_MASK

#define FED_WRONG_FEDID_MASK   (FED_WRONG_FEDID_WIDTH << FED_WRONG_FEDID_SHIFT)

Definition at line 68 of file fed_trailer.h.

◆ FED_WRONG_FEDID_SHIFT

#define FED_WRONG_FEDID_SHIFT   15

Definition at line 67 of file fed_trailer.h.

◆ FED_WRONG_FEDID_WIDTH

#define FED_WRONG_FEDID_WIDTH   0x00000001

Definition at line 66 of file fed_trailer.h.

Typedef Documentation

◆ fedt_t

typedef struct fedt_struct fedt_t