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] ⓘ
pub fn payload_len(&self) -> usize
pub fn to_owned(&self) -> CfgTp5Owned
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