aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
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