#[repr(C)]
pub struct nrf_modem_gnss_agps_data_ephemeris {
Show 26 fields pub sv_id: u8, pub health: u8, pub iodc: u16, pub toc: u16, pub af2: i8, pub af1: i16, pub af0: i32, pub tgd: i8, pub ura: u8, pub fit_int: u8, pub toe: u16, pub w: i32, pub delta_n: i16, pub m0: i32, pub omega_dot: i32, pub e: u32, pub idot: i16, pub sqrt_a: u32, pub i0: i32, pub omega0: i32, pub crs: i16, pub cis: i16, pub cus: i16, pub crc: i16, pub cic: i16, pub cuc: i16,
}
Expand description

A-GPS ephemeris data.

Fields§

§sv_id: u8

Satellite ID (dimensionless). Range 1…32.

§health: u8

Satellite health (dimensionless).

§iodc: u16

Issue of data, clock parameters (dimensionless). Range 0…2047 (11 bits).

§toc: u16

Clock parameters reference GPS time-of-week (sec). Scale factor 2^4. Range 0…37799.

§af2: i8

Clock drift rate (sec/sec2). Scale factor 2^-55.

§af1: i16

Clock drift (sec/sec). Scale factor 2^-43.

§af0: i32

Clock bias (sec). Scale factor 2^-31. Range -2097152…2097151 (22 bit)

§tgd: i8

Group delay (sec). Scale factor 2^-31.

§ura: u8

URA index (dimensionless). Range 0…15.

§fit_int: u8

Curve fit interval indication. Range 0…1.

§toe: u16

Ephemeris parameters reference GPS time-of-week (sec). Scale factor 2^4. Range 0…37799.

§w: i32

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

§delta_n: i16

Mean motion difference (semi-circle/sec). Scale factor 2^-43.

§m0: i32

Mean anomaly at reference time (semi-circle). Scale factor 2^-31.

§omega_dot: i32

Rate of right ascension (semi-circle/sec). Scale factor 2^-43. Range -8388608…8388607 (24 bits).

§e: u32

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

§idot: i16

Rate of inclination angle (semi-circle/sec). Scale factor 2-43. Range -8192…8191 (14 bits).

§sqrt_a: u32

Square root of semi-major axis (m). Scale factor 2^-19.

§i0: i32

Inclination angle at reference time (semi-circle). Scale factor 2^-31.

§omega0: i32

Longitude of ascending node at weekly epoch (semi-circle). Scale factor 2^-31.

§crs: i16

Orbit radius, sine harmonic amplitude (m). Scale factor 2^-5.

§cis: i16

Inclination angle, sine harmonic amplitude (rad). Scale factor 2^-29.

§cus: i16

Argument of latitude, sine harmonic amplitude (rad). Scale factor 2^-29.

§crc: i16

Orbit radius, cosine harmonic amplitude (m). Scale factor 2^-5.

§cic: i16

Inclination angle, cosine harmonic amplitude (rad). Scale factor 2^-29.

§cuc: i16

Argument of latitude, cosine harmonic amplitude (rad). Scale factor 2^-29.

Trait Implementations§

source§

impl Clone for nrf_modem_gnss_agps_data_ephemeris

source§

fn clone(&self) -> nrf_modem_gnss_agps_data_ephemeris

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_ephemeris

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_ephemeris

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.