aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/uhd/usrp/gps_ctrl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/uhd/usrp/gps_ctrl.hpp')
-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 91d653759..90a90d900 100644
--- a/host/include/uhd/usrp/gps_ctrl.hpp
+++ b/host/include/uhd/usrp/gps_ctrl.hpp
@@ -45,7 +45,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