pub struct CfgTp5Ref<'a>(/* private fields */);
Expand description
TP5: “Time Pulse” Config frame (32.10.38.4) Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
source§impl<'a> CfgTp5Ref<'a>
impl<'a> CfgTp5Ref<'a>
pub fn as_bytes(&self) -> &[u8] ⓘ
sourcepub fn tp_idx_raw(&self) -> u8
pub fn tp_idx_raw(&self) -> u8
sourcepub fn tp_idx(&self) -> CfgTp5TimePulseMode
pub fn tp_idx(&self) -> CfgTp5TimePulseMode
sourcepub fn ant_cable_delay_raw(&self) -> i16
pub fn ant_cable_delay_raw(&self) -> i16
Antenna cable delay [ns]
sourcepub fn ant_cable_delay(&self) -> f32
pub fn ant_cable_delay(&self) -> f32
Antenna cable delay [ns]
sourcepub fn rf_group_delay_raw(&self) -> i16
pub fn rf_group_delay_raw(&self) -> i16
RF group delay [ns]
sourcepub fn rf_group_delay(&self) -> f32
pub fn rf_group_delay(&self) -> f32
RF group delay [ns]
sourcepub fn freq_period_raw(&self) -> u32
pub fn freq_period_raw(&self) -> u32
Frequency in Hz or Period in us, depending on flags::IS_FREQ
bit
sourcepub fn freq_period(&self) -> f64
pub fn freq_period(&self) -> f64
Frequency in Hz or Period in us, depending on flags::IS_FREQ
bit
sourcepub fn freq_period_lock_raw(&self) -> u32
pub fn freq_period_lock_raw(&self) -> u32
Frequency in Hz or Period in us, when locked to GPS time. Only used when flags::LOCKED_OTHER_SET
is set
sourcepub fn freq_period_lock(&self) -> f64
pub fn freq_period_lock(&self) -> f64
Frequency in Hz or Period in us, when locked to GPS time. Only used when flags::LOCKED_OTHER_SET
is set
sourcepub fn pulse_len_ratio_raw(&self) -> u32
pub fn pulse_len_ratio_raw(&self) -> u32
Pulse length or duty cycle, [us] or [*2^-32], depending on flags::LS_LENGTH
bit
sourcepub fn pulse_len_ratio(&self) -> f64
pub fn pulse_len_ratio(&self) -> f64
Pulse length or duty cycle, [us] or [*2^-32], depending on flags::LS_LENGTH
bit
sourcepub fn pulse_len_ratio_lock_raw(&self) -> u32
pub fn pulse_len_ratio_lock_raw(&self) -> u32
Pulse Length in us or duty cycle (*2^-32), when locked to GPS time. Only used when flags::LOCKED_OTHER_SET
is set
sourcepub fn pulse_len_ratio_lock(&self) -> f64
pub fn pulse_len_ratio_lock(&self) -> f64
Pulse Length in us or duty cycle (*2^-32), when locked to GPS time. Only used when flags::LOCKED_OTHER_SET
is set
sourcepub fn user_delay_raw(&self) -> i32
pub fn user_delay_raw(&self) -> i32
User configurable time pulse delay in [ns]
sourcepub fn user_delay(&self) -> f64
pub fn user_delay(&self) -> f64
User configurable time pulse delay in [ns]
sourcepub fn flags_raw(&self) -> u32
pub fn flags_raw(&self) -> u32
Configuration flags, see CfgTp5Flags
sourcepub fn flags(&self) -> CfgTp5Flags
pub fn flags(&self) -> CfgTp5Flags
Configuration flags, see CfgTp5Flags