1 #ifndef _TWR_MODULE_GPS_H
2 #define _TWR_MODULE_GPS_H
5 #include <twr_sam_m8q.h>
twr_sam_m8q_time_t twr_module_gps_time_t
Time data structure.
void twr_module_gps_set_event_handler(twr_module_gps_event_handler_t event_handler, void *event_param)
Set callback function.
void twr_module_gps_stop(void)
Stop tracking.
bool twr_module_gps_get_altitude(twr_module_gps_altitude_t *altitude)
Get altitude.
bool twr_module_gps_get_quality(twr_module_gps_quality_t *quality)
Get quality.
bool twr_module_gps_init(void)
Initialize HARDWARIO GPS Module.
void twr_module_gps_invalidate(void)
Invalidate navigation data.
twr_sam_m8q_position_t twr_module_gps_position_t
Position data structure.
twr_module_gps_led_t
Virtual LED channels.
void twr_module_gps_start(void)
Start tracking.
const twr_led_driver_t * twr_module_gps_get_led_driver(void)
Get LED driver.
bool twr_module_gps_get_accuracy(twr_module_gps_accuracy_t *accuracy)
Get accuracy.
twr_sam_m8q_quality_t twr_module_gps_quality_t
Quality data structure.
bool twr_module_gps_get_time(twr_module_gps_time_t *time)
Get time.
twr_sam_m8q_altitude_t twr_module_gps_altitude_t
Altitude data structure.
twr_module_gps_event_t
Callback events.
bool twr_module_gps_get_position(twr_module_gps_position_t *position)
Get position.
twr_sam_m8q_accuracy_t twr_module_gps_accuracy_t
Accuracy data structure.
@ TWR_MODULE_GPS_LED_GREEN
LCD green LED channel.
@ TWR_MODULE_GPS_LED_RED
LCD red LED channel.
@ TWR_MODULE_GPS_EVENT_UPDATE
Update event.
@ TWR_MODULE_GPS_EVENT_STOP
Stop event.
@ TWR_MODULE_GPS_EVENT_START
Start event.
@ TWR_MODULE_GPS_EVENT_ERROR
Error event.