/* * gnss.h * * Created on: Dec 29, 2014 * Author: aras */ #ifndef LIBTE_GNSS_H_ #define LIBTE_GNSS_H_ #include "te_structs.h" namespace te_gnss { //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 configure(gnss_config_struct*); bool activate(); bool deactivate(); bool sync_pps(); bool get_time_info(gnss_precise_time*); bool is_locked(); } #endif /* LIBTE_GNSS_H_ */