Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gps_skytraq.h File Reference
#include "mcu_periph/uart.h"
+ Include dependency graph for gps_skytraq.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GpsSkytraq
 

Macros

#define SKYTRAQ_ID_NAVIGATION_DATA   0XA8
 
#define PRIMARY_GPS   GPS_SKYTRAQ
 
#define GPS_SKYTRAQ_MAX_PAYLOAD   255
 
#define gps_skytraq_periodic_check()   gps_periodic_check(&gps_skytraq.state)
 

Enumerations

enum  GpsSkytraqError {
  GPS_SKYTRAQ_ERR_NONE = 0, GPS_SKYTRAQ_ERR_OVERRUN, GPS_SKYTRAQ_ERR_MSG_TOO_LONG, GPS_SKYTRAQ_ERR_CHECKSUM,
  GPS_SKYTRAQ_ERR_OUT_OF_SYNC, GPS_SKYTRAQ_ERR_UNEXPECTED
}
 

Functions

void gps_skytraq_init (void)
 
void gps_skytraq_event (void)
 

Variables

struct GpsSkytraq gps_skytraq
 

Data Structure Documentation

struct GpsSkytraq

Definition at line 44 of file gps_skytraq.h.

+ Collaboration diagram for GpsSkytraq:
Data Fields
uint8_t checksum
uint8_t error_cnt
enum GpsSkytraqError error_last
uint16_t len
bool msg_available
uint8_t msg_buf[GPS_SKYTRAQ_MAX_PAYLOAD]
uint8_t msg_id
uint8_t msg_idx
struct LtpDef_i ref_ltp
struct GpsState state
uint8_t status

Macro Definition Documentation

#define GPS_SKYTRAQ_MAX_PAYLOAD   255

Definition at line 43 of file gps_skytraq.h.

Referenced by gps_skytraq_parse().

#define gps_skytraq_periodic_check ( )    gps_periodic_check(&gps_skytraq.state)

Definition at line 66 of file gps_skytraq.h.

#define PRIMARY_GPS   GPS_SKYTRAQ

Definition at line 30 of file gps_skytraq.h.

#define SKYTRAQ_ID_NAVIGATION_DATA   0XA8

Definition at line 27 of file gps_skytraq.h.

Referenced by gps_skytraq_msg(), and gps_skytraq_read_message().

Enumeration Type Documentation

Enumerator
GPS_SKYTRAQ_ERR_NONE 
GPS_SKYTRAQ_ERR_OVERRUN 
GPS_SKYTRAQ_ERR_MSG_TOO_LONG 
GPS_SKYTRAQ_ERR_CHECKSUM 
GPS_SKYTRAQ_ERR_OUT_OF_SYNC 
GPS_SKYTRAQ_ERR_UNEXPECTED 

Definition at line 34 of file gps_skytraq.h.

Function Documentation

void gps_skytraq_event ( void  )

Definition at line 115 of file gps_skytraq.c.

References dev, gps_skytraq, gps_skytraq_msg(), gps_skytraq_parse(), and GpsSkytraq::msg_available.

+ Here is the call graph for this function:

void gps_skytraq_init ( void  )

Definition at line 93 of file gps_skytraq.c.

References gps_skytraq, GpsSkytraq::status, and UNINIT.

Variable Documentation