Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gps_sirf.c File Reference
#include "subsystems/gps.h"
#include "subsystems/abi.h"
#include "led.h"
#include "math/pprz_geodetic_float.h"
#include <inttypes.h>
#include <math.h>
#include <stdio.h>
#include "gps_sirf.h"
+ Include dependency graph for gps_sirf.c:

Go to the source code of this file.

Functions

void sirf_parse_2 (void)
 
void sirf_parse_41 (void)
 
void gps_impl_init (void)
 GPS initialization. More...
 
void gps_sirf_msg (void)
 
void sirf_parse_char (uint8_t c)
 
void sirf_parse_msg (void)
 

Variables

struct GpsSirf gps_sirf
 
int start_time = 0
 
int ticks = 0
 
int start_time2 = 0
 
int ticks2 = 0
 

Function Documentation

void gps_impl_init ( void  )

GPS initialization.

GPS model specific init implementation.

Definition at line 43 of file gps_sirf.c.

References FALSE, gps_sirf, GpsSirf::msg_available, GpsSirf::msg_len, GpsSirf::pos_available, and GpsSirf::read_state.

void gps_sirf_msg ( void  )
void sirf_parse_char ( uint8_t  c)

Definition at line 68 of file gps_sirf.c.

References GOT_A0, GOT_A2, GOT_B0, gps_sirf, GpsSirf::msg_available, GpsSirf::msg_buf, GpsSirf::msg_len, GpsSirf::read_state, TRUE, and UNINIT.

Referenced by GpsEvent().

+ Here is the caller graph for this function:

void sirf_parse_msg ( void  )

Definition at line 193 of file gps_sirf.c.

References FALSE, gps_sirf, GpsSirf::msg_buf, GpsSirf::msg_len, sys_time::nb_sec, GpsSirf::pos_available, sirf_parse_2(), sirf_parse_41(), start_time2, and ticks2.

Referenced by gps_sirf_msg().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

struct GpsSirf gps_sirf
int start_time = 0

Definition at line 113 of file gps_sirf.c.

Referenced by sirf_parse_2(), and sys_time_register_timer().

int start_time2 = 0

Definition at line 115 of file gps_sirf.c.

Referenced by sirf_parse_2(), and sirf_parse_msg().

int ticks = 0

Definition at line 114 of file gps_sirf.c.

Referenced by sirf_parse_2(), and sys_time_usleep().

int ticks2 = 0

Definition at line 116 of file gps_sirf.c.

Referenced by sirf_parse_2(), and sirf_parse_msg().