DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::ctbmodules::content::word Namespace Reference

Classes

struct  ch_status_t
 
struct  feedback_t
 
struct  timestamp_t
 
struct  trigger_t
 
union  word
 
struct  word_t
 

Typedefs

typedef uint16_t trigger_code_t
 
typedef struct dunedaq::ctbmodules::content::word::word_t word_t
 
typedef union dunedaq::ctbmodules::content::word::word word
 
typedef struct dunedaq::ctbmodules::content::word::feedback_t feedback_t
 
typedef struct dunedaq::ctbmodules::content::word::ch_status_t ch_status_t
 
typedef struct dunedaq::ctbmodules::content::word::timestamp_t timestamp_t
 
typedef struct dunedaq::ctbmodules::content::word::trigger_t trigger_t
 

Enumerations

enum  word_type {
  t_fback =0x0 , t_lt =0x1 , t_gt =0x2 , t_ch =0x3 ,
  t_chksum =0x4 , t_ts =0x7
}
 

Typedef Documentation

◆ ch_status_t

typedef struct dunedaq::ctbmodules::content::word::ch_status_t dunedaq::ctbmodules::content::word::ch_status_t

◆ feedback_t

typedef struct dunedaq::ctbmodules::content::word::feedback_t dunedaq::ctbmodules::content::word::feedback_t

– Several different structures that can be used to reinterpret the payload depending on the word type. All these structures map into the full 16 bytes of the CTB words

◆ timestamp_t

typedef struct dunedaq::ctbmodules::content::word::timestamp_t dunedaq::ctbmodules::content::word::timestamp_t

◆ trigger_code_t

– payload

Definition at line 64 of file CTBPacketContent.hpp.

◆ trigger_t

typedef struct dunedaq::ctbmodules::content::word::trigger_t dunedaq::ctbmodules::content::word::trigger_t

◆ word

typedef union dunedaq::ctbmodules::content::word::word dunedaq::ctbmodules::content::word::word

◆ word_t

typedef struct dunedaq::ctbmodules::content::word::word_t dunedaq::ctbmodules::content::word::word_t

N. Barros - May 7, 2018 : Changed the structure of the parsing

Now all structures cast into 16 bytes, but declare different bit fields to interpret each frame in the context of its respective type

Also, to move into a format where the full timestamp is stored, the full timestamp is now placed in the 64 lsb, instead of the msb. Does complies with the memory alignment and simplifies the parsing of the structures

Enumeration Type Documentation

◆ word_type