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

#include <CTBPacketContent.hpp>

Public Types

typedef uint64_t ts_size_t
typedef uint16_t code_size_t
typedef uint16_t source_size_t
typedef uint32_t wtype_size_t
typedef uint32_t pad_size_t

Public Attributes

ts_size_t timestamp
code_size_t code: 16
source_size_t source: 16
pad_size_t padding: 29
wtype_size_t word_type: 3

Static Public Attributes

static size_t const size_bytes = 2 * sizeof(uint64_t)
static size_t const size_u32 = size_bytes / sizeof(uint32_t)
static size_t const n_bits_timestamp = 64
static size_t const n_bits_payload = 32
static size_t const n_bits_type = 3

Detailed Description

– 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

Definition at line 113 of file CTBPacketContent.hpp.

Member Typedef Documentation

◆ code_size_t

◆ pad_size_t

◆ source_size_t

◆ ts_size_t

◆ wtype_size_t

Member Data Documentation

◆ code

code_size_t dunedaq::ctbmodules::content::word::feedback_t::code

Definition at line 121 of file CTBPacketContent.hpp.

◆ n_bits_payload

size_t const dunedaq::ctbmodules::content::word::feedback_t::n_bits_payload = 32
static

Definition at line 128 of file CTBPacketContent.hpp.

◆ n_bits_timestamp

size_t const dunedaq::ctbmodules::content::word::feedback_t::n_bits_timestamp = 64
static

Definition at line 127 of file CTBPacketContent.hpp.

◆ n_bits_type

size_t const dunedaq::ctbmodules::content::word::feedback_t::n_bits_type = 3
static

Definition at line 129 of file CTBPacketContent.hpp.

◆ padding

pad_size_t dunedaq::ctbmodules::content::word::feedback_t::padding

Definition at line 123 of file CTBPacketContent.hpp.

◆ size_bytes

size_t const dunedaq::ctbmodules::content::word::feedback_t::size_bytes = 2 * sizeof(uint64_t)
static

Definition at line 125 of file CTBPacketContent.hpp.

◆ size_u32

size_t const dunedaq::ctbmodules::content::word::feedback_t::size_u32 = size_bytes / sizeof(uint32_t)
static

Definition at line 126 of file CTBPacketContent.hpp.

◆ source

source_size_t dunedaq::ctbmodules::content::word::feedback_t::source

Definition at line 122 of file CTBPacketContent.hpp.

◆ timestamp

ts_size_t dunedaq::ctbmodules::content::word::feedback_t::timestamp

Definition at line 120 of file CTBPacketContent.hpp.

◆ word_type

wtype_size_t dunedaq::ctbmodules::content::word::feedback_t::word_type

Definition at line 124 of file CTBPacketContent.hpp.


The documentation for this struct was generated from the following file: