Defines | Functions
nav_msg.c File Reference
#include "nav_msg.h"
#include <stdio.h>
#include <string.h>
#include <math.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 18 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 33 of file nav_msg.c.

void nav_msg_init ( nav_msg_t n)

Definition at line 20 of file nav_msg.c.

s32 nav_msg_update ( nav_msg_t n,
s32  corr_prompt_real 
)

Definition at line 73 of file nav_msg.c.

int nav_parity ( u32 word)

Definition at line 192 of file nav_msg.c.

int parity ( u32  x)

Definition at line 181 of file nav_msg.c.

Definition at line 227 of file nav_msg.c.

bool subframe_ready ( nav_msg_t n)

Definition at line 223 of file nav_msg.c.



enu
Author(s): Mike Purvis
autogenerated on Fri Jan 3 2014 11:21:07