diff options
author | jcorgan | 2009-01-05 18:05:17 +0000 |
---|---|---|
committer | jcorgan | 2009-01-05 18:05:17 +0000 |
commit | 54625297142c1ed5ac4665d48ae6dea997b7b7eb (patch) | |
tree | 0a5cf4125c20e4a4597b0d4748e375b5c8beba1b /gr-usrp/src/usrp_base.h | |
parent | b54ab8fc36e242e0ae9c0fad99e1eda5d6423bd1 (diff) | |
download | gnuradio-54625297142c1ed5ac4665d48ae6dea997b7b7eb.tar.gz gnuradio-54625297142c1ed5ac4665d48ae6dea997b7b7eb.tar.bz2 gnuradio-54625297142c1ed5ac4665d48ae6dea997b7b7eb.zip |
Allow setting of non-standard FPGA master clock frequency for USRP1
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10193 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-usrp/src/usrp_base.h')
-rw-r--r-- | gr-usrp/src/usrp_base.h | 11 |
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); |