aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-10 18:18:25 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-17 10:52:09 +0200
commitf24a67182541b41ebf924e983660c9dc48c8bbd8 (patch)
tree041fb98170ee3e1ab21e482d52482a6c48ac7084 /host/include
parent321295fba49fb66ede365afbd9ef62971cdfbfca (diff)
downloaduhd-f24a67182541b41ebf924e983660c9dc48c8bbd8.tar.gz
uhd-f24a67182541b41ebf924e983660c9dc48c8bbd8.tar.bz2
uhd-f24a67182541b41ebf924e983660c9dc48c8bbd8.zip
Add support for LEA-M8F GPSDO boardlea-m8f-v4.2.0.1
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/gps_ctrl.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/host/include/uhd/usrp/gps_ctrl.hpp b/host/include/uhd/usrp/gps_ctrl.hpp
index b7c3814f9..e1fa55a41 100644
--- a/host/include/uhd/usrp/gps_ctrl.hpp
+++ b/host/include/uhd/usrp/gps_ctrl.hpp
@@ -43,7 +43,14 @@ public:
*/
virtual bool gps_detected(void) = 0;
- // TODO: other fun things you can do with a GPS.
+ /*!
+ * Return what reference clock the GPSDO outputs.
+ * \return 0 if not GPSDO available. Frequency in kHz if a GPSDO is installed.
+ */
+ virtual int gps_refclock_frequency(void) = 0;
+
+ //TODO: other fun things you can do with a GPS.
+
};
} // namespace uhd