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> | 2018-06-12 17:31:55 +0200 |
commit | 2902fa87824997a17b48742c494648440c53d317 (patch) | |
tree | 1ead5c0a380efe486a17d5dc1ed1847494055f81 /host/lib/usrp/b200/b200_cores.cpp | |
parent | ec786351c73a4b94bf43f5212b1f57d0820267bb (diff) | |
download | uhd-2902fa87824997a17b48742c494648440c53d317.tar.gz uhd-2902fa87824997a17b48742c494648440c53d317.tar.bz2 uhd-2902fa87824997a17b48742c494648440c53d317.zip |
Add support for LEA-M8F GPSDO board
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 010c012a6..6999ba474 100644 --- a/host/lib/usrp/b200/b200_cores.cpp +++ b/host/lib/usrp/b200/b200_cores.cpp @@ -64,6 +64,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) |