diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-10 18:18:25 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-08-17 10:52:09 +0200 |
commit | f24a67182541b41ebf924e983660c9dc48c8bbd8 (patch) | |
tree | 041fb98170ee3e1ab21e482d52482a6c48ac7084 /host/lib/usrp/b200/b200_cores.cpp | |
parent | 321295fba49fb66ede365afbd9ef62971cdfbfca (diff) | |
download | uhd-f24a67182541b41ebf924e983660c9dc48c8bbd8.tar.gz uhd-f24a67182541b41ebf924e983660c9dc48c8bbd8.tar.bz2 uhd-f24a67182541b41ebf924e983660c9dc48c8bbd8.zip |
Add support for LEA-M8F GPSDO boardlea-m8f-v4.2.0.1
Diffstat (limited to 'host/lib/usrp/b200/b200_cores.cpp')
-rw-r--r-- | host/lib/usrp/b200/b200_cores.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/usrp/b200/b200_cores.cpp b/host/lib/usrp/b200/b200_cores.cpp index 3c55d3995..b076b9476 100644 --- a/host/lib/usrp/b200/b200_cores.cpp +++ b/host/lib/usrp/b200/b200_cores.cpp @@ -61,6 +61,14 @@ void b200_ref_pll_ctrl::set_lock_to_ext_ref(bool external) _spi->restore_perif(); } +bool b200_ref_pll_ctrl::set_refclk_frequency(int refclk_kHz) +{ + _spi->change_perif(b200_local_spi_core::PLL); + bool success = adf4001_ctrl::set_refclk_frequency(refclk_kHz); + _spi->restore_perif(); + return success; +} + b200_local_spi_core::sptr b200_local_spi_core::make( uhd::wb_iface::sptr iface, b200_local_spi_core::perif_t default_perif) |