##// END OF EJS Templates
aaguilar -
r175:176
parent child
Show More
@@ -1,14 +1,14
1 1 /*
2 2 * gnss.h
3 3 *
4 * Created on: Nov 4, 2014
5 * Author: Alan Aguilar Sologuren
4 * Created on: Dec 29, 2014
5 * Author: aras
6 6 */
7 7
8 #ifndef GNSS_H_
9 #define GNSS_H_
8 #ifndef LIBTE_GNSS_H_
9 #define LIBTE_GNSS_H_
10 10
11 namespace te_gnss {
11 #include "te_structs.h"
12 12
13 13 //pin ports to GNSS
14 14 #define PPS 2 /*!< PE4 AVR <> 2 Arduino */
@@ -16,6 +16,18
16 16 #define RX0_GNSS RX0
17 17 #define TX0_GNSS TX0 PE1
18 18
19 }
20 19
21 #endif /* GNSS_H_ */
20 class gnss {
21 public:
22 gnss();
23 virtual ~gnss();
24
25 bool te_gnss_configure(gnss_config_struct*);
26 bool te_gnss_activate();
27 bool te_gnss_deactivate();
28 bool te_gnss_sync_pps();
29 bool te_gnss_get_time_info(gnss_precise_time*);
30 bool te_gnss_is_locked();
31 };
32
33 #endif /* LIBTE_GNSS_H_ */
General Comments 0
You need to be logged in to leave comments. Login now