mbgtools-lx
4.2.8
|
Macros | |
#define | _gnss_sv_stat_quality_ind(__stat_flags) ( (uint8_t) ( (__stat_flags) & 0x00000007UL ) ) |
Bits 0 to 2 are a 3 bit quality indicator, see GNSS_SV_STAT_QUALITY_INDS. More... | |
#define | _gnss_sv_stat_sv_used(__stat_flags) ( ( (__stat_flags) & 0x00000008UL ) != 0 ) |
Bit 3 is set if the SV is actually used for navigation. More... | |
#define | _gnss_sv_stat_health_code(__stat_flags) ( (uint8_t) ( ( (__stat_flags) & 0x00000030UL ) >> 4 ) ) |
Bits 4 and 5 are a 2 bit health code, see GNSS_SV_STAT_HEALTH_CODES. More... | |
#define | _gnss_sv_stat_diff_corr(__stat_flags) ( ( (__stat_flags) & 0x00000040UL ) != 0 ) |
Bit 6 is set if differential correction is available for this SV. More... | |
#define | _gnss_sv_stat_smoothed(__stat_flags) ( ( (__stat_flags) & 0x00000080UL ) != 0 ) |
Bit 7 is set if carrier smoothed pseudorange is used for this SV. More... | |
#define | _gnss_sv_stat_orbit_src(__stat_flags) ( (uint8_t) ( ( (__stat_flags) & 0x00000700UL ) >> 8 ) ) |
Bits 8 to 10 are a 3 bit code indicating the orbit source, see GNSS_SV_STAT_ORBIT_SOURCES. More... | |
#define | _gnss_sv_stat_eph_avail(__stat_flags) ( ( (__stat_flags) & 0x00000800UL ) != 0 ) |
Bit 11 is set if ephemeris parameters are available for this SV. More... | |
#define | _gnss_sv_stat_alm_avail(__stat_flags) ( ( (__stat_flags) & 0x00001000UL ) != 0 ) |
Bit 12 is set if almanac parameters are available for this SV. More... | |
#define | _gnss_sv_stat_ano_avail(__stat_flags) ( ( (__stat_flags) & 0x00002000UL ) != 0 ) |
Bit 13 is set if AssistNow Offline data is available for this SV. More... | |
#define | _gnss_sv_stat_aop_avail(__stat_flags) ( ( (__stat_flags) & 0x00004000UL ) != 0 ) |
Bit 14 is set if AssistNow Autonomous data is available for this SV. More... | |
#define | _gnss_sv_stat_sbas_corr_used(__stat_flags) ( ( (__stat_flags) & 0x00010000UL ) != 0 ) |
Bit 15 is reserved. More... | |
#define | _gnss_sv_stat_rtcm_corr_used(__stat_flags) ( ( (__stat_flags) & 0x00020000UL ) != 0 ) |
Bit 17 is set if RTCM corrections have been used for this SV. More... | |
#define | _gnss_sv_stat_pr_corr_used(__stat_flags) ( ( (__stat_flags) & 0x00100000UL ) != 0 ) |
Bits 18 and 19 are reserved. More... | |
#define | _gnss_sv_stat_cr_corr_used(__stat_flags) ( ( (__stat_flags) & 0x00200000UL ) != 0 ) |
Bit 21 is set if carrier range corrections have been used for this SV. More... | |
#define | _gnss_sv_stat_do_corr_used(__stat_flags) ( ( (__stat_flags) & 0x00400000UL ) != 0 ) |
Bit 22 is set if range rate (doppler) corrections have been used for this SV. More... | |
Used with GNSS_SV_STATUS::stat_flags.
#define _gnss_sv_stat_alm_avail | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00001000UL ) != 0 ) |
#define _gnss_sv_stat_ano_avail | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00002000UL ) != 0 ) |
#define _gnss_sv_stat_aop_avail | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00004000UL ) != 0 ) |
#define _gnss_sv_stat_cr_corr_used | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00200000UL ) != 0 ) |
#define _gnss_sv_stat_diff_corr | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00000040UL ) != 0 ) |
#define _gnss_sv_stat_do_corr_used | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00400000UL ) != 0 ) |
#define _gnss_sv_stat_eph_avail | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00000800UL ) != 0 ) |
#define _gnss_sv_stat_health_code | ( | __stat_flags | ) | ( (uint8_t) ( ( (__stat_flags) & 0x00000030UL ) >> 4 ) ) |
Bits 4 and 5 are a 2 bit health code, see GNSS_SV_STAT_HEALTH_CODES.
#define _gnss_sv_stat_orbit_src | ( | __stat_flags | ) | ( (uint8_t) ( ( (__stat_flags) & 0x00000700UL ) >> 8 ) ) |
Bits 8 to 10 are a 3 bit code indicating the orbit source, see GNSS_SV_STAT_ORBIT_SOURCES.
#define _gnss_sv_stat_pr_corr_used | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00100000UL ) != 0 ) |
#define _gnss_sv_stat_quality_ind | ( | __stat_flags | ) | ( (uint8_t) ( (__stat_flags) & 0x00000007UL ) ) |
Bits 0 to 2 are a 3 bit quality indicator, see GNSS_SV_STAT_QUALITY_INDS.
#define _gnss_sv_stat_rtcm_corr_used | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00020000UL ) != 0 ) |
#define _gnss_sv_stat_sbas_corr_used | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00010000UL ) != 0 ) |
#define _gnss_sv_stat_smoothed | ( | __stat_flags | ) | ( ( (__stat_flags) & 0x00000080UL ) != 0 ) |