Files
@ 145ff3003e1e
Branch filter:
Location: FeatherHAB/wsprhab/inc/gps.h - annotation
145ff3003e1e
632 B
text/plain
Fixed extended stuff! Changed ID to hopefully unused one. Power is still superlow.
0d9900312165 0d9900312165 0d9900312165 0d9900312165 0d9900312165 0d9900312165 677c51754ccf dd3b59fcb7a7 9ba4d6855ba4 9ba4d6855ba4 9ba4d6855ba4 9ba4d6855ba4 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf 677c51754ccf ddd34459834e c1b1dfc6c2f4 677c51754ccf c1b1dfc6c2f4 c1b1dfc6c2f4 c1b1dfc6c2f4 0d9900312165 0d9900312165 0d9900312165 c1b1dfc6c2f4 c1b1dfc6c2f4 dd3b59fcb7a7 c1b1dfc6c2f4 677c51754ccf 9ba4d6855ba4 0d9900312165 0d9900312165 | #ifndef GPS_H_
#define GPS_H_
#include <stdint.h>
typedef struct _gps_data
{
uint32_t pdop;
uint8_t sats_in_solution;
int32_t speed;
int32_t heading;
int32_t latitude;
int32_t longitude;
int32_t altitude;
uint8_t month;
uint8_t day;
uint8_t hour;
uint8_t minute;
uint8_t second;
uint8_t valid;
uint8_t fixtype;
} gps_data_t;
void gps_update_data(void);
uint8_t gps_check_nav(void);
void gps_poweron(void);
void gps_poweroff(void);
void gps_acquirefix(void);
uint8_t gps_getstate(void);
gps_data_t* gps_getdata(void);
uint8_t gps_ison(void);
#endif /* GPS_H_ */
|