/* * gnss.h * * Created on: Dec 29, 2014 * Author: aras */ #ifndef LIBTE_GNSS_H_ #define LIBTE_GNSS_H_ #include "te_structs.h" //pin ports to GNSS #define PPS 2 /*!< PE4 AVR <> 2 Arduino */ #define ENB 5 /*!< PE3 AVR <> 5 Arduino */ #define RX0_GNSS RX0 #define TX0_GNSS TX0 PE1 bool te_gnss_configure(gnss_config_struct &gcs); bool te_gnss_activate(); bool te_gnss_deactivate(); bool te_gnss_sync_pps(); void te_gnss_set_baudrate(uint16_t baud); void te_gnss_scan_baudrate(); void te_gnss_scan_baud_func(); void te_gnss_wait_to_be_locked(); void te_gnss_scan_lock_func(); bool te_gnss_is_locked(); void te_gnss_get_pps_data(); void te_gnss_get_pps_data_funct(); void te_gnss_set_position(N9_22); #endif /* LIBTE_GNSS_H_ */