12#ifndef TIMING_INCLUDE_TIMING_TLUIONODE_HPP_
13#define TIMING_INCLUDE_TIMING_TLUIONODE_HPP_
20#include "uhal/DerivedNode.hpp"
38 explicit TLUIONode(
const uhal::Node& node);
51 std::string
get_status(
bool print_out =
false)
const;
56 void reset(
const std::string& clock_config_file)
const override;
66 void configure_dac(uint32_t dac_id, uint32_t dac_value,
bool internal_ref =
false)
const;
71 std::string
get_sfp_status(uint32_t sfp_id,
bool print_out =
false)
const override;
Base class for timing IO nodes.
virtual void reset(const std::string &clock_config_file) const =0
Reset timing node.
void reset(const std::string &clock_config_file) const override
Reset IO node.
void switch_sfp_tx(uint32_t, bool) const override
Control tx laser of on-board SFP softly (I2C command)
const std::vector< std::string > m_dac_devices
Fill hardware monitoring structure.
void validate_sfp_id(uint32_t sfp_id) const
void configure_dac(uint32_t dac_id, uint32_t dac_value, bool internal_ref=false) const
Configure on-board DAC.
std::string get_status(bool print_out=false) const
Print the status of the timing node.
bool clocks_ok() const override
Clocks ready?
std::string get_uid_address_parameter_name() const override
Get the UID address parameter name.
void switch_sfp_soft_tx_control_bit(uint32_t, bool) const override
Control tx laser of on-board SFP softly (I2C command)
TLUIONode(const uhal::Node &node)
std::string get_sfp_status(uint32_t sfp_id, bool print_out=false) const override
Print status of on-board SFP.