Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
gps_sirf.h File Reference

Sirf protocol specific code. More...

#include "std.h"
#include "modules/gps/gps.h"
+ Include dependency graph for gps_sirf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GpsSirf
 

Macros

#define PRIMARY_GPS   GPS_SIRF
 
#define SIRF_GPS_NB_CHANNELS   16
 
#define SIRF_MAXLEN   255
 
#define UNINIT   0
 
#define GOT_A0   1
 
#define GOT_A2   2
 
#define GOT_B0   3
 
#define gps_sirf_periodic_check()   gps_periodic_check(&gps_sirf.state)
 

Functions

void gps_sirf_init (void)
 
void gps_sirf_event (void)
 

Variables

struct GpsSirf gps_sirf
 

Detailed Description

Sirf protocol specific code.

Definition in file gps_sirf.h.


Data Structure Documentation

◆ GpsSirf

struct GpsSirf

Definition at line 48 of file gps_sirf.h.

+ Collaboration diagram for GpsSirf:
Data Fields
bool msg_available
char msg_buf[SIRF_MAXLEN] buffer for storing one nmea-line
int msg_len
bool msg_valid
int read_state
struct GpsState state

Macro Definition Documentation

◆ GOT_A0

#define GOT_A0   1

Definition at line 44 of file gps_sirf.h.

◆ GOT_A2

#define GOT_A2   2

Definition at line 45 of file gps_sirf.h.

◆ GOT_B0

#define GOT_B0   3

Definition at line 46 of file gps_sirf.h.

◆ gps_sirf_periodic_check

#define gps_sirf_periodic_check ( )    gps_periodic_check(&gps_sirf.state)

Definition at line 62 of file gps_sirf.h.

◆ PRIMARY_GPS

#define PRIMARY_GPS   GPS_SIRF

Definition at line 36 of file gps_sirf.h.

◆ SIRF_GPS_NB_CHANNELS

#define SIRF_GPS_NB_CHANNELS   16

Definition at line 39 of file gps_sirf.h.

◆ SIRF_MAXLEN

#define SIRF_MAXLEN   255

Definition at line 40 of file gps_sirf.h.

◆ UNINIT

#define UNINIT   0

Definition at line 43 of file gps_sirf.h.

Function Documentation

◆ gps_sirf_event()

void gps_sirf_event ( void  )

Definition at line 287 of file gps_sirf.c.

References dev, gps_sirf, gps_sirf_msg(), GpsSirf::msg_available, and sirf_parse_char().

+ Here is the call graph for this function:

◆ gps_sirf_init()

void gps_sirf_init ( void  )

Variable Documentation

◆ gps_sirf

struct GpsSirf gps_sirf
extern