aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-07 16:44:49 -0700
committerMartin Braun <martin.braun@ettus.com>2016-10-07 16:44:49 -0700
commit1b70b3e70df40aae4d1e53037212d77af2fdc4e4 (patch)
treedcde2a418b7cfb4672e5ef5e57bbf85ae3c2d4b1 /host/include
parent811444b126ed40aed115af4464422122afd0c607 (diff)
parent006c321c552781501bcb0cff9e156c991c24ce45 (diff)
downloaduhd-1b70b3e70df40aae4d1e53037212d77af2fdc4e4.tar.gz
uhd-1b70b3e70df40aae4d1e53037212d77af2fdc4e4.tar.bz2
uhd-1b70b3e70df40aae4d1e53037212d77af2fdc4e4.zip
Merge branch 'maint'
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp21
1 files changed, 14 insertions, 7 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 8c50178eb..f0029c1af 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -160,15 +160,22 @@ public:
/*!
* Set the master clock rate.
- * This controls the rate of the clock that feeds the FPGA DSP.
- * On some devices, this re-tunes the clock to the specified rate.
- * If the specified rate is not available, this method will throw.
- * On other devices, this method notifies the software of the rate,
- * but requires the the user has made the necessary hardware change.
+ *
+ * What exactly this changes is device-dependent, but it will always
+ * affect the rate at which the ADC/DAC is running.
+ *
+ * Like tuning receive or transmit frequencies, this call will do a best
+ * effort to change the master clock rate. The device will coerce to the
+ * closest clock rate available, and on many devices won't actually change
+ * anything at all. Call get_master_clock_rate() to see which rate was
+ * actually applied.
+ *
+ * Note that changing this value during streaming is not recommended and
+ * can have random side effects.
*
* If the device has an 'auto clock rate' setting (e.g. B200, see also
- * \ref b200_auto_mcr), this will get disabled and the clock rate will be
- * fixed to \p rate.
+ * \ref b200_auto_mcr), calling this function will disable the automatic
+ * clock rate selection, and the clock rate will be fixed to \p rate.
*
* \param rate the new master clock rate in Hz
* \param mboard the motherboard index 0 to M-1