/* * 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 class gnss { public: gnss(); virtual ~gnss(); bool te_gnss_configure(gnss_config_struct*); bool te_gnss_activate(); bool te_gnss_deactivate(); bool te_gnss_sync_pps(); bool te_gnss_get_time_info(gnss_precise_time*); bool te_gnss_is_locked(); }; #endif /* LIBTE_GNSS_H_ */