pub struct GpsRawCaBlock {
pub svid: u8,
pub crc_passed: u8,
pub viterbi_count: u8,
pub source: u8,
pub freq_nr: u8,
pub nav_bits: [u8; 40],
/* private fields */
}Expand description
GPSRawCA block (Block ID 4017)
Raw GPS C/A navigation subframe bits (L1).
Fields§
§svid: u8Satellite ID (1-32 for GPS)
crc_passed: u8CRC check: 0=failed, 1=passed
viterbi_count: u8Viterbi decoder error count
source: u8Signal source
freq_nr: u8Frequency number
Raw navigation bits (10 × u4 = 40 bytes, 300 bits)
Implementations§
Trait Implementations§
Source§impl Clone for GpsRawCaBlock
impl Clone for GpsRawCaBlock
Source§fn clone(&self) -> GpsRawCaBlock
fn clone(&self) -> GpsRawCaBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GpsRawCaBlock
impl Debug for GpsRawCaBlock
Auto Trait Implementations§
impl Freeze for GpsRawCaBlock
impl RefUnwindSafe for GpsRawCaBlock
impl Send for GpsRawCaBlock
impl Sync for GpsRawCaBlock
impl Unpin for GpsRawCaBlock
impl UnsafeUnpin for GpsRawCaBlock
impl UnwindSafe for GpsRawCaBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more