DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
EndpointNodeInterface.cpp
Go to the documentation of this file.
1
10
11
12#include <sstream>
13#include <string>
14
15namespace dunedaq::timing {
16
17//-----------------------------------------------------------------------------
19 : TimingNode(node)
20{}
21//-----------------------------------------------------------------------------
22
23//-----------------------------------------------------------------------------
26//-----------------------------------------------------------------------------
27
28//-----------------------------------------------------------------------------
29bool
31{
32 auto ready_flag = getNode("csr.stat.ep_rdy").read();
33 getClient().dispatch();
34 return ready_flag.value();
35}
36//-----------------------------------------------------------------------------
37
38//-----------------------------------------------------------------------------
39uint32_t
41{
42 auto endpoint_state = getNode("csr.stat.ep_stat").read();
43 getClient().dispatch();
44 return endpoint_state.value();
45}
46//-----------------------------------------------------------------------------
47
48} // namespace dunedaq::timing
virtual uint32_t read_endpoint_state() const
Get endpoint state.
virtual bool endpoint_ready() const
Get endpoint ready flag.
Base class for timing nodes.
< Message parameters