Struct ublox::CfgNav5Ref

source ·
pub struct CfgNav5Ref<'a>(/* private fields */);
Expand description

Navigation Engine Settings Contains a reference to an underlying buffer, contains accessor methods to retrieve data.

Implementations§

source§

impl<'a> CfgNav5Ref<'a>

source

pub fn as_bytes(&self) -> &[u8]

source

pub fn mask_raw(&self) -> u16

Only the masked parameters will be applied

source

pub fn mask(&self) -> CfgNav5Params

Only the masked parameters will be applied

source

pub fn dyn_model_raw(&self) -> u8

source

pub fn dyn_model(&self) -> CfgNav5DynModel

source

pub fn fix_mode_raw(&self) -> u8

source

pub fn fix_mode(&self) -> CfgNav5FixMode

source

pub fn fixed_alt_raw(&self) -> i32

Fixed altitude (mean sea level) for 2D fixmode (m)

source

pub fn fixed_alt(&self) -> f64

Fixed altitude (mean sea level) for 2D fixmode (m)

source

pub fn fixed_alt_var_raw(&self) -> u32

Fixed altitude variance for 2D mode (m^2)

source

pub fn fixed_alt_var(&self) -> f64

Fixed altitude variance for 2D mode (m^2)

source

pub fn min_elev_degrees(&self) -> i8

Minimum Elevation for a GNSS satellite to be used in NAV (deg)

source

pub fn dr_limit(&self) -> u8

Reserved

source

pub fn pdop_raw(&self) -> u16

Position DOP Mask to use

source

pub fn pdop(&self) -> f32

Position DOP Mask to use

source

pub fn tdop_raw(&self) -> u16

Time DOP Mask to use

source

pub fn tdop(&self) -> f32

Time DOP Mask to use

source

pub fn pacc(&self) -> u16

Position Accuracy Mask (m)

source

pub fn tacc(&self) -> u16

Time Accuracy Mask according to manual unit is “m”, but this looks like typo

source

pub fn static_hold_thresh_raw(&self) -> u8

Static hold threshold

source

pub fn static_hold_thresh(&self) -> f32

Static hold threshold

source

pub fn dgps_time_out(&self) -> u8

DGNSS timeout (seconds)

source

pub fn cno_thresh_num_svs(&self) -> u8

Number of satellites required to have C/N0 above cno_thresh for a fix to be attempted

source

pub fn cno_thresh(&self) -> u8

C/N0 threshold for deciding whether toattempt a fix (dBHz)

source

pub fn reserved1(&self) -> [u8; 2]

source

pub fn static_hold_max_dist(&self) -> u16

Static hold distance threshold (beforequitting static hold)

source

pub fn utc_standard_raw(&self) -> u8

UTC standard to be used

source

pub fn utc_standard(&self) -> CfgNav5UtcStandard

UTC standard to be used

source

pub fn reserved2(&self) -> [u8; 5]

Trait Implementations§

source§

impl Debug for CfgNav5Ref<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for CfgNav5Ref<'_>

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for CfgNav5Ref<'a>

§

impl<'a> Send for CfgNav5Ref<'a>

§

impl<'a> Sync for CfgNav5Ref<'a>

§

impl<'a> Unpin for CfgNav5Ref<'a>

§

impl<'a> UnwindSafe for CfgNav5Ref<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.