Defines | Functions
nav_msg.c File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "constants.h"
#include "nav_msg.h"
Include dependency graph for nav_msg.c:

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 Documentation

#define NAV_MSG_BIT_PHASE_THRES   5

Definition at line 20 of file nav_msg.c.


Function Documentation

u32 extract_word ( nav_msg_t n,
u16  bit_index,
u8  n_bits,
u8  invert 
)

Definition at line 35 of file nav_msg.c.

void nav_msg_init ( nav_msg_t n)

Definition at line 22 of file nav_msg.c.

s32 nav_msg_update ( nav_msg_t n,
s32  corr_prompt_real 
)

Definition at line 75 of file nav_msg.c.

int nav_parity ( u32 word)

Definition at line 194 of file nav_msg.c.

int parity ( u32  x)

Definition at line 183 of file nav_msg.c.

Definition at line 229 of file nav_msg.c.

bool subframe_ready ( nav_msg_t n)

Definition at line 225 of file nav_msg.c.



swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:56:55