DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Structs.hpp
Go to the documentation of this file.
1/*
2 * This file is 100% generated. Any manual edits will likely be lost.
3 *
4 * This contains struct and other type definitions for shema in
5 * namespace dunedaq::flxlibs::felixcardcontroller.
6 */
7#ifndef DUNEDAQ_FLXLIBS_FELIXCARDCONTROLLER_STRUCTS_HPP
8#define DUNEDAQ_FLXLIBS_FELIXCARDCONTROLLER_STRUCTS_HPP
9
10#include <cstdint>
11
12#include <vector>
13#include <string>
14
16
17 // @brief An unsigned of 4 bytes
18 using uint4 = uint32_t; // NOLINT
19
20
21 // @brief list of numbers
22 using Array = std::vector<dunedaq::flxlibs::felixcardcontroller::uint4>;
23
24 // @brief A boolean
25 using boolean = bool;
26
27 // @brief An unsigned of 8 bytes
28 using uint8 = uint64_t; // NOLINT
29
30
31 // @brief
32 struct Link
33 {
34
35 // @brief Link identifier
37
38 // @brief Indicate whether the link is enabled
39 boolean enabled = false;
40
41 // @brief DMA channel
43
44 // @brief Superchunk factor
46 };
47
48 // @brief A list of links
49 using LinksList = std::vector<dunedaq::flxlibs::felixcardcontroller::Link>;
50
51 // @brief
53 {
54
55 // @brief Logical unit identifier
57
58 // @brief Toggle emulator on/off
59 boolean emu_fanout = false;
60
61 // @brief List of links in the logical unit
63
64 // @brief Elinks to ignore when checking alignment.
66 };
67
68 // @brief A list of logical units
69 using LogicalUnitList = std::vector<dunedaq::flxlibs::felixcardcontroller::LogicalUnit>;
70
71 // @brief Upstream FELIX CardController DAQ Module Configuration
72 struct Conf
73 {
74
75 // @brief Physical card identifier (in the same host)
77
78 // @brief Superlogic regions of selected card
80 };
81
82 // @brief A string field
83 using String = std::string;
84
85 // @brief A list of registers
86 using RegList = std::vector<dunedaq::flxlibs::felixcardcontroller::String>;
87
88 // @brief Bitfield access parameters
89 struct GetBFs
90 {
91
92 // @brief Physical card identifier (in the same host)
94
95 // @brief Logical unit identifier
97
98 // @brief A list of bitfields
100 };
101
102 // @brief Register access parameters
104 {
105
106 // @brief Physical card identifier (in the same host)
108
109 // @brief Logical unit identifier
111
112 // @brief A list of registers
114 };
115
116 // @brief
118 {
119
120 // @brief The name of a register
121 String reg_name = "";
122
123 // @brief The value of a register
125 };
126
127 // @brief A list of registers and values
128 using RegValList = std::vector<dunedaq::flxlibs::felixcardcontroller::RegValPair>;
129
130 // @brief Bitfield access parameters
131 struct SetBFs
132 {
133
134 // @brief Physical card identifier (in the same host)
136
137 // @brief Logical unit identifier
139
140 // @brief A list of bitfields and values to set
142 };
143
144 // @brief Register access parameters
146 {
147
148 // @brief Physical card identifier (in the same host)
150
151 // @brief Logical unit identifier
153
154 // @brief A list of registers and values to set
156 };
157
158} // namespace dunedaq::flxlibs::felixcardcontroller
159
160#endif // DUNEDAQ_FLXLIBS_FELIXCARDCONTROLLER_STRUCTS_HPP
std::vector< dunedaq::flxlibs::felixcardcontroller::uint4 > Array
Definition Structs.hpp:22
std::vector< dunedaq::flxlibs::felixcardcontroller::Link > LinksList
Definition Structs.hpp:49
std::vector< dunedaq::flxlibs::felixcardcontroller::LogicalUnit > LogicalUnitList
Definition Structs.hpp:69
std::vector< dunedaq::flxlibs::felixcardcontroller::RegValPair > RegValList
Definition Structs.hpp:128
std::vector< dunedaq::flxlibs::felixcardcontroller::String > RegList
Definition Structs.hpp:86