#include <stdio.h>
#include <string.h>
#include <math.h>
#include "constants.h"
#include "nav_msg.h"
Go to the source code of this file.
Defines | |
#define | NAV_MSG_BIT_PHASE_THRES 5 |
#define | SUBFRAME_START_BUFFER_OFFSET (NAV_MSG_SUBFRAME_BITS_LEN*32 - 360) |
Functions | |
u32 | extract_word (nav_msg_t *n, u16 bit_index, u8 n_bits, u8 invert) |
void | nav_msg_init (nav_msg_t *n) |
s32 | nav_msg_update (nav_msg_t *n, s32 corr_prompt_real) |
int | nav_parity (u32 *word) |
int | parity (u32 x) |
s8 | process_subframe (nav_msg_t *n, ephemeris_t *e) |
bool | subframe_ready (nav_msg_t *n) |
#define NAV_MSG_BIT_PHASE_THRES 5 |
#define SUBFRAME_START_BUFFER_OFFSET (NAV_MSG_SUBFRAME_BITS_LEN*32 - 360) |
void nav_msg_init | ( | nav_msg_t * | n | ) |
int nav_parity | ( | u32 * | word | ) |
s8 process_subframe | ( | nav_msg_t * | n, |
ephemeris_t * | e | ||
) |
bool subframe_ready | ( | nav_msg_t * | n | ) |