DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
GIBV2IONode.hpp
Go to the documentation of this file.
1
12#ifndef TIMING_INCLUDE_TIMING_GIBV2IONODE_HPP_
13#define TIMING_INCLUDE_TIMING_GIBV2IONODE_HPP_
14
15// PDT Headers
16#include "TimingIssues.hpp"
17#include "timing/GIBIONode.hpp"
18
19// uHal Headers
20#include "uhal/DerivedNode.hpp"
21
22// C++ Headers
23#include <chrono>
24#include <string>
25
26namespace dunedaq {
27namespace timing {
28
32class GIBV2IONode : public GIBIONode
33{
34 UHAL_DERIVEDNODE(GIBV2IONode)
35
36public:
37 explicit GIBV2IONode(const uhal::Node& node);
38 virtual ~GIBV2IONode();
39
43 uint8_t read_sfps_los() const override; // NOLINT(build/unsigned)
44
48 uint8_t read_sfps_fault() const override; // NOLINT(build/unsigned)
49
53 bool clocks_ok() const override;
54
58 void switch_sfp_tx(uint32_t sfp_id, bool turn_on) const override; // NOLINT(build/unsigned)
59
60protected:
61 uint8_t get_sfp_tx_disable_bitmap() const override; // NOLINT(build/unsigned)
62
63 uint8_t get_num_sfps() const override; // NOLINT(build/unsigned)
64
65};
66
67} // namespace timing
68} // namespace dunedaq
69
70#endif // TIMING_INCLUDE_TIMING_GIBV2IONODE_HPP_
Class for the timing FMC board.
Definition GIBIONode.hpp:33
Class for the timing FMC board.
uint8_t get_num_sfps() const override
uint8_t read_sfps_fault() const override
Retrive SFP fault status for all SFPs.
uint8_t read_sfps_los() const override
Retrive SFP LOS status for all SFPs.
bool clocks_ok() const override
Clocks ready?
GIBV2IONode(const uhal::Node &node)
uint8_t get_sfp_tx_disable_bitmap() const override
void switch_sfp_tx(uint32_t sfp_id, bool turn_on) const override
control tx laser of on-board SFP softly (I2C command)
The DUNE-DAQ namespace.