12#ifndef TIMING_INCLUDE_TIMING_MIBV3IONODE_HPP_
13#define TIMING_INCLUDE_TIMING_MIBV3IONODE_HPP_
20#include "uhal/DerivedNode.hpp"
50 std::string
get_status(
bool print_out =
false)
const override;
55 void reset(
const std::string& clock_config_file)
const override;
75 std::string
get_sfp_status(uint32_t sfp_id,
bool print_out =
false)
const override;
90 void switch_sfp_tx(uint32_t sfp_id,
bool turn_on)
const override;
Base class for timing IO nodes.
Class for the timing FMC board.
MIBV3IONode(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.
std::string get_uid_address_parameter_name() const override
Get the UID address parameter name.
std::string get_status(bool print_out=false) const override
Get status string, optionally print.
void reset(const std::string &clock_config_file) const override
Reset MIB v2 IO.
void validate_sfp_id(uint32_t sfp_id) const
Fill hardware monitoring structure.
void switch_clock_source(const ClockSource &clock_source) const
Switch clock input, with clock file look up and upload if necessary.
bool clocks_ok() const override
Clocks ready?
void reset_pll() const override
Reset PLL.
void switch_sfp_tx(uint32_t sfp_id, bool turn_on) const override
control tx laser of on-board SFP
void validate_amc_slot(uint32_t amc_slot) const
void switch_sfp_soft_tx_control_bit(uint32_t sfp_id, bool turn_on) const override
control tx laser of on-board SFP softly (I2C command)