pub struct Telemetry {Show 51 fields
pub board_id: u64,
pub smbus_tx_enum_version: u32,
pub smbus_tx_device_id: u32,
pub smbus_tx_asic_ro: u32,
pub smbus_tx_asic_idd: u32,
pub smbus_tx_board_id_high: u32,
pub smbus_tx_board_id_low: u32,
pub smbus_tx_arc0_fw_version: u32,
pub smbus_tx_arc1_fw_version: u32,
pub smbus_tx_arc2_fw_version: u32,
pub smbus_tx_arc3_fw_version: u32,
pub smbus_tx_spibootrom_fw_version: u32,
pub smbus_tx_eth_fw_version: u32,
pub smbus_tx_m3_bl_fw_version: u32,
pub smbus_tx_m3_app_fw_version: u32,
pub smbus_tx_ddr_speed: Option<u32>,
pub smbus_tx_ddr_status: u32,
pub smbus_tx_eth_status0: u32,
pub smbus_tx_eth_status1: u32,
pub smbus_tx_pcie_status: u32,
pub smbus_tx_faults: u32,
pub smbus_tx_arc0_health: u32,
pub smbus_tx_arc1_health: u32,
pub smbus_tx_arc2_health: u32,
pub smbus_tx_arc3_health: u32,
pub smbus_tx_fan_speed: u32,
pub smbus_tx_aiclk: u32,
pub smbus_tx_axiclk: u32,
pub smbus_tx_arcclk: u32,
pub smbus_tx_throttler: u32,
pub smbus_tx_vcore: u32,
pub smbus_tx_asic_temperature: u32,
pub smbus_tx_vreg_temperature: u32,
pub smbus_tx_board_temperature: u32,
pub smbus_tx_tdp: u32,
pub smbus_tx_tdc: u32,
pub smbus_tx_vdd_limits: u32,
pub smbus_tx_thm_limits: u32,
pub smbus_tx_wh_fw_date: u32,
pub smbus_tx_asic_tmon0: u32,
pub smbus_tx_asic_tmon1: u32,
pub smbus_tx_mvddq_power: u32,
pub smbus_tx_gddr_train_temp0: u32,
pub smbus_tx_gddr_train_temp1: u32,
pub smbus_tx_asic_power: Option<u32>,
pub smbus_tx_aux_status: Option<u32>,
pub smbus_tx_boot_date: u32,
pub smbus_tx_rt_seconds: u32,
pub smbus_tx_eth_debug_status0: u32,
pub smbus_tx_eth_debug_status1: u32,
pub smbus_tx_tt_flash_version: u32,
}
Fields§
§board_id: u64
§smbus_tx_enum_version: u32
§smbus_tx_device_id: u32
§smbus_tx_asic_ro: u32
§smbus_tx_asic_idd: u32
§smbus_tx_board_id_high: u32
§smbus_tx_board_id_low: u32
§smbus_tx_arc0_fw_version: u32
§smbus_tx_arc1_fw_version: u32
§smbus_tx_arc2_fw_version: u32
§smbus_tx_arc3_fw_version: u32
§smbus_tx_spibootrom_fw_version: u32
§smbus_tx_eth_fw_version: u32
§smbus_tx_m3_bl_fw_version: u32
§smbus_tx_m3_app_fw_version: u32
§smbus_tx_ddr_speed: Option<u32>
§smbus_tx_ddr_status: u32
§smbus_tx_eth_status0: u32
§smbus_tx_eth_status1: u32
§smbus_tx_pcie_status: u32
§smbus_tx_faults: u32
§smbus_tx_arc0_health: u32
§smbus_tx_arc1_health: u32
§smbus_tx_arc2_health: u32
§smbus_tx_arc3_health: u32
§smbus_tx_fan_speed: u32
§smbus_tx_aiclk: u32
§smbus_tx_axiclk: u32
§smbus_tx_arcclk: u32
§smbus_tx_throttler: u32
§smbus_tx_vcore: u32
§smbus_tx_asic_temperature: u32
§smbus_tx_vreg_temperature: u32
§smbus_tx_board_temperature: u32
§smbus_tx_tdp: u32
§smbus_tx_tdc: u32
§smbus_tx_vdd_limits: u32
§smbus_tx_thm_limits: u32
§smbus_tx_wh_fw_date: u32
§smbus_tx_asic_tmon0: u32
§smbus_tx_asic_tmon1: u32
§smbus_tx_mvddq_power: u32
§smbus_tx_gddr_train_temp0: u32
§smbus_tx_gddr_train_temp1: u32
§smbus_tx_asic_power: Option<u32>
§smbus_tx_aux_status: Option<u32>
§smbus_tx_boot_date: u32
§smbus_tx_rt_seconds: u32
§smbus_tx_eth_debug_status0: u32
§smbus_tx_eth_debug_status1: u32
§smbus_tx_tt_flash_version: u32
Implementations§
Source§impl Telemetry
impl Telemetry
Sourcepub fn firmware_date(&self) -> String
pub fn firmware_date(&self) -> String
Return firmware date in YYYY-MM-DD format.
Sourcepub fn arc_fw_version(&self) -> String
pub fn arc_fw_version(&self) -> String
Return ARC firmware version in MAJOR.MINOR.PATCH format.
Sourcepub fn eth_fw_version(&self) -> String
pub fn eth_fw_version(&self) -> String
Return Ethernet firmware version in MAJOR.MINOR.PATCH format.
Sourcepub fn board_serial_number(&self) -> u64
pub fn board_serial_number(&self) -> u64
Return the board serial number as an integer.
Sourcepub fn board_serial_number_hex(&self) -> String
pub fn board_serial_number_hex(&self) -> String
Return the board serial number as a hex-formatted string.
Sourcepub fn try_board_type(&self) -> Option<&'static str>
pub fn try_board_type(&self) -> Option<&'static str>
Return the board type or None if unknown
Sourcepub fn board_type(&self) -> &'static str
pub fn board_type(&self) -> &'static str
Return the board type of UNSUPPORTED
Sourcepub fn asic_temperature(&self) -> f64
pub fn asic_temperature(&self) -> f64
Return the ASIC temperature in degrees celsius.
Sourcepub fn vreg_temperature(&self) -> f64
pub fn vreg_temperature(&self) -> f64
Return the voltage regulator temperature in degrees celsius.
Sourcepub fn inlet_temperature(&self) -> f64
pub fn inlet_temperature(&self) -> f64
Return the inlet temperature in degrees celsius.
Sourcepub fn outlet_temperature1(&self) -> f64
pub fn outlet_temperature1(&self) -> f64
Return the first outlet temperature in degrees celsius.
Sourcepub fn outlet_temperature2(&self) -> f64
pub fn outlet_temperature2(&self) -> f64
Return the second outlet temperature in degrees celsius.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Telemetry
impl RefUnwindSafe for Telemetry
impl Send for Telemetry
impl Sync for Telemetry
impl Unpin for Telemetry
impl UnwindSafe for Telemetry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more