#[repr(C)]
pub struct nrf_modem_gnss_agps_data_almanac {
Show 14 fields pub sv_id: u8, pub wn: u8, pub toa: u8, pub ioda: u8, pub e: u16, pub delta_i: i16, pub omega_dot: i16, pub sv_health: u8, pub sqrt_a: u32, pub omega0: i32, pub w: i32, pub m0: i32, pub af0: i16, pub af1: i16,
}
Expand description

A-GPS almanac data.

Fields§

§sv_id: u8

Satellite ID (dimensionless). Range 1…32.

§wn: u8

Almanac reference GPS week number modulo 256.

§toa: u8

Almanac reference GPS time-of-week (sec). Scale factor 2^12. Range 0…147.

§ioda: u8

Issue of data, almanac (dimensionless). Range 0…3 (2 bits).

§e: u16

Eccentricity (dimensionless). Scale factor 2^-21.

§delta_i: i16

Correction to inclination (semi-circle). Scale factor 2^-19.

§omega_dot: i16

Rate of right ascension (semi-circle/sec). Scale factor 2^-38.

§sv_health: u8

Satellite health (dimensionless)

§sqrt_a: u32

Square root of semi-major axis (m^(1/2)). Scale factor 2^-11. Range 0…16777215 (24 bit).

§omega0: i32

Longitude of ascending node at weekly epoch (semi-circle). Scale factor 2^-23. Range -8388608…8388607 (24 bits).

§w: i32

Argument of perigee (semi-circle). Scale factor 2^-23.

§m0: i32

Mean anomaly at reference time (semi-circle). Scale factor 2^-23. Range -8388608…8388608 (24 bits).

§af0: i16

Clock bias (sec). Scale factor 2^-20. Range -1024…1023 (11 bits).

§af1: i16

Clock drift (sec/sec). Scale factor 2^-38. Range -1024…1023 (11 bits).

Trait Implementations§

source§

impl Clone for nrf_modem_gnss_agps_data_almanac

source§

fn clone(&self) -> nrf_modem_gnss_agps_data_almanac

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for nrf_modem_gnss_agps_data_almanac

source§

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

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

impl Copy for nrf_modem_gnss_agps_data_almanac

Auto Trait Implementations§

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.