Paparazzi UAS  v5.15_devel-61-g9c6bcf9
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gps_sirf.h File Reference

Sirf protocol specific code. More...

#include "std.h"
#include "subsystems/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

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

#define GOT_A0   1

Definition at line 44 of file gps_sirf.h.

Referenced by sirf_parse_char().

#define GOT_A2   2

Definition at line 45 of file gps_sirf.h.

Referenced by sirf_parse_char().

#define GOT_B0   3

Definition at line 46 of file gps_sirf.h.

Referenced by sirf_parse_char().

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

Definition at line 62 of file gps_sirf.h.

#define PRIMARY_GPS   GPS_SIRF

Definition at line 36 of file gps_sirf.h.

#define SIRF_GPS_NB_CHANNELS   16

Definition at line 39 of file gps_sirf.h.

#define SIRF_MAXLEN   255

Definition at line 40 of file gps_sirf.h.

#define UNINIT   0

Definition at line 43 of file gps_sirf.h.

Function Documentation

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:

void gps_sirf_init ( void  )

Variable Documentation