Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
#include "mcu_periph/uart.h"
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) |
Functions | |
void | gps_skytraq_init (void) |
void | gps_skytraq_event (void) |
Variables | |
struct GpsSkytraq | gps_skytraq |
struct GpsSkytraq |
Definition at line 44 of file gps_skytraq.h.
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 |
#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().
enum GpsSkytraqError |
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.
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.
void gps_skytraq_init | ( | void | ) |
Definition at line 93 of file gps_skytraq.c.
References gps_skytraq, GpsSkytraq::status, and UNINIT.
struct GpsSkytraq gps_skytraq |
Definition at line 51 of file gps_skytraq.c.
Referenced by gps_skytraq_event(), gps_skytraq_init(), gps_skytraq_msg(), gps_skytraq_parse(), and gps_skytraq_read_message().