summaryrefslogtreecommitdiff
path: root/gr-usrp/src/usrp_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-usrp/src/usrp_base.h')
-rw-r--r--gr-usrp/src/usrp_base.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gr-usrp/src/usrp_base.h b/gr-usrp/src/usrp_base.h
index 83aa699ab..c106739d0 100644
--- a/gr-usrp/src/usrp_base.h
+++ b/gr-usrp/src/usrp_base.h
@@ -98,7 +98,16 @@ public:
/*!
* \brief return frequency of master oscillator on USRP
*/
- long fpga_master_clock_freq() const;
+ long fpga_master_clock_freq() const;
+
+ /*!
+ * Tell API that the master oscillator on the USRP is operating at a non-standard
+ * fixed frequency. This is only needed for custom USRP hardware modified to
+ * operate at a different frequency from the default factory configuration. This
+ * function must be called prior to any other API function.
+ * \param master_clock USRP2 FPGA master clock frequency in Hz (10..64 MHz)
+ */
+ void set_fpga_master_clock_freq (long master_clock);
void set_verbose (bool on);