17#include "GPSLocation.h"
19#include "IEEE1588Timer.h"
21#define GPS_SER_NUM SER_PORT_LPUART8
22#define PIN_GPS_UART_TX 70
23#define PIN_GPS_UART_RX 69
25#define PIN_GPS_PPS1 41
26#define PIN_GPS_PPS2 85
29#define NMEA_PPS_WINDOW_NS (800000000u)
30#define UNIX_NTP_OFFSET (2208988800u)
41 void DecodeGSV(
char *pGPSData);
42 void DecodeGSA(
char *pGPSData);
43 void DecodeRMC(
char *pGPSData);
44 void DecodeGGA(
char *pGPSData);
50 time_t getRMCTimeValue(
const char *time,
const char *date);
54 GPSSatTracker satTracker;
59 GPSFixQuality fixQuality;
64 uint32_t GPSTaskStack[USER_TASK_STK_SIZE / 2];
70 uint32_t edge_1588_count;
71 uint32_t edge_tt_count;
73 uint32_t start_captime;
74 uint8_t last_pps_index;
82 static void staticreadLoop(
void *p);
Definition IEEE1588Timer.h:23