DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
MuxDesignInterface.hpp
Go to the documentation of this file.
1
12#ifndef TIMING_INCLUDE_TIMING_MUXDESIGNINTERFACE_HPP_
13#define TIMING_INCLUDE_TIMING_MUXDESIGNINTERFACE_HPP_
14
15// PDT Headers
16#include "TimingIssues.hpp"
18
19// uHal Headers
20#include "uhal/DerivedNode.hpp"
21
22// C++ Headers
23#include <chrono>
24#include <sstream>
25#include <string>
26
27namespace dunedaq {
28namespace timing {
29
34{
35
36public:
37 explicit MuxDesignInterface(const uhal::Node& node)
38 : TopDesignInterface(node) {}
40
46 virtual uint8_t read_active_mux() const = 0; // NOLINT(build/unsigned)
47
53 virtual void switch_mux(uint8_t mux_channel, bool resync_cdr=false) const = 0; // NOLINT(build/unsigned)
54
60 virtual void resync_active_cdr() const = 0; // NOLINT(build/unsigned)
61
62};
63
64} // namespace timing
65} // namespace dunedaq
66
67#endif // TIMING_INCLUDE_TIMING_MUXDESIGNINTERFACE_HPP_
Base class for timing endpoint design nodes.
virtual void resync_active_cdr() const =0
Resync active cdr.
virtual uint8_t read_active_mux() const =0
Read cdr mux.
virtual void switch_mux(uint8_t mux_channel, bool resync_cdr=false) const =0
Switch cdr mux.
Base class for timing top design nodes.
Including Qt Headers.