|
| | I2CSFPNode (const uhal::Node &node) |
| |
| | I2CSFPNode (const I2CSFPNode &node) |
| |
| virtual | ~I2CSFPNode () |
| |
| | I2CMasterNode (const uhal::Node &node) |
| |
| | I2CMasterNode (const I2CMasterNode &node) |
| |
| virtual | ~I2CMasterNode () |
| |
| virtual uint16_t | get_i2c_clock_prescale () const |
| |
| virtual std::vector< std::string > | get_slaves () const |
| |
| virtual uint8_t | get_slave_address (const std::string &name) const |
| |
| virtual const I2CSlave & | get_slave (const std::string &name) const |
| |
| void | reset () const |
| |
| virtual uint8_t | read_i2c (uint8_t i2c_device_address, uint32_t i2c_reg_address, bool atomic=false) const |
| | commodity functions
|
| |
| virtual void | write_i2c (uint8_t i2c_device_address, uint32_t i2c_reg_address, uint8_t data, bool send_stop=true) const |
| |
| virtual std::vector< uint8_t > | read_i2cArray (uint8_t i2c_device_address, uint32_t i2c_reg_address, uint32_t number_of_words, bool atomic=false) const |
| |
| virtual void | write_i2cArray (uint8_t i2c_device_address, uint32_t i2c_reg_address, std::vector< uint8_t > data, bool send_stop=true) const |
| |
| virtual std::vector< uint8_t > | read_i2cPrimitive (uint8_t i2c_device_address, uint32_t number_of_bytes) const |
| |
| virtual void | write_i2cPrimitive (uint8_t i2c_device_address, const std::vector< uint8_t > &data, bool send_stop=true) const |
| |
| bool | ping (uint8_t i2c_device_address, bool throw_excp=false) const |
| |
| std::vector< uint8_t > | scan () const |
| |
| | I2CSFPSlave (const I2CMasterNode *i2c_master, uint8_t i2c_device_address) |
| |
| virtual | ~I2CSFPSlave () |
| |
| void | sfp_reachable () const |
| | Check if SFP responds.
|
| |
| void | ddm_available () const |
| | Check if DDM is supported.
|
| |
| std::pair< double, double > | read_calibration_parameter_pair (uint32_t calib_parameter_id) const |
| | Read the raw SFP temperature.
|
| |
| double | read_temperature_raw () const |
| | Read the raw SFP temperature.
|
| |
| double | read_temperature () const |
| | Read the calibrated SFP temperature.
|
| |
| double | read_voltage_raw () const |
| | Read the raw SFP voltage.
|
| |
| double | read_voltage () const |
| | Read the calibrated SFP voltage.
|
| |
| double | read_rx_power_raw () const |
| | Read the raw SFP temperature.
|
| |
| double | read_rx_ower () const |
| | Read the raw SFP temperature.
|
| |
| double | read_tx_power_raw () const |
| | Read the raw SFP tx power.
|
| |
| double | read_tx_power () const |
| | Read the calibrated SFP tx power.
|
| |
| double | read_current_raw () const |
| | Read the raw SFP current.
|
| |
| double | read_current () const |
| | Read the calibrated SFP current.
|
| |
| std::string | read_vendor_name () const |
| | Read the vendor name.
|
| |
| std::string | read_vendor_part_number () const |
| | Read the vendor name.
|
| |
| std::string | read_serial_number () const |
| | Read the SFP serial number.
|
| |
| bool | read_ddm_support_bit () const |
| | Find out if SFP supports DDM.
|
| |
| bool | read_soft_tx_control_support_bit () const |
| | Find out if SFP supports soft tx laser disable.
|
| |
| bool | read_soft_tx_control_state () const |
| | Read the value of the soft tx disable control bit.
|
| |
| bool | read_tx_disable_pin_state () const |
| | Read the state of the tx disable control pin.
|
| |
| bool | read_i2c_reg_addressSwapBit () const |
| | Read whether the SFP has seperate I2C addresses, or if a special I2C address swap is required. True = address swap required.
|
| |
| void | switch_soft_tx_control_bit (bool turn_on) const |
| | Switch on or off the SFP tx laser via the soft control bit.
|
| |
| std::string | get_status (bool print_out=false) const |
| | Get SFP status.
|
| |
| virtual | ~I2CSlave () |
| |
| uint8_t | get_i2c_address () const |
| |
| uint8_t | read_i2c (uint32_t i2c_device_address, uint32_t i2c_reg_address) const |
| | comodity functions
|
| |
| uint8_t | read_i2c (uint32_t i2c_reg_address) const |
| |
| uint8_t | read_i2c_atomic (uint32_t i2c_device_address, uint32_t i2c_reg_address) const |
| |
| uint8_t | read_i2c_atomic (uint32_t i2c_reg_address) const |
| |
| void | write_i2c (uint32_t i2c_device_address, uint32_t i2c_reg_address, uint8_t data, bool send_stop=true) const |
| |
| void | write_i2c (uint32_t i2c_reg_address, uint8_t data, bool send_stop=true) const |
| |
| std::vector< uint8_t > | read_i2cArray (uint32_t i2c_device_address, uint32_t i2c_reg_address, uint32_t number_of_words) const |
| |
| std::vector< uint8_t > | read_i2cArray (uint32_t i2c_reg_address, uint32_t number_of_words) const |
| |
| std::vector< uint8_t > | read_i2cArray_atomic (uint32_t i2c_reg_address, uint32_t number_of_words) const |
| |
| std::vector< uint8_t > | read_i2cArray_atomic (uint32_t i2c_device_address, uint32_t i2c_reg_address, uint32_t number_of_words) const |
| |
| void | write_i2cArray (uint32_t i2c_device_address, uint32_t i2c_reg_address, std::vector< uint8_t > data, bool send_stop=true) const |
| |
| void | write_i2cArray (uint32_t i2c_reg_address, std::vector< uint8_t > data, bool send_stop=true) const |
| |
| std::vector< uint8_t > | read_i2cPrimitive (uint32_t number_of_bytes) const |
| |
| void | write_i2cPrimitive (const std::vector< uint8_t > &data, bool send_stop=true) const |
| |
| bool | ping (bool throw_excp=false) const |
| |
| std::string | get_master_id () const |
| |
Definition at line 201 of file I2CSFPNode.hpp.