aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/adf4001_ctrl.hpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-08-01 16:29:34 -0700
committerAshish Chaudhari <ashish@ettus.com>2014-08-01 16:29:34 -0700
commitdb6f3a2d7aabdd0eaa1021ac174edd3cbb77be55 (patch)
treea46e395a5700fda1a367ec34b640312b4ff48e3f /host/lib/usrp/common/adf4001_ctrl.hpp
parentef5abde4f0c5ef5a16dc7b8ec7a8a5f611a9418f (diff)
downloaduhd-db6f3a2d7aabdd0eaa1021ac174edd3cbb77be55.tar.gz
uhd-db6f3a2d7aabdd0eaa1021ac174edd3cbb77be55.tar.bz2
uhd-db6f3a2d7aabdd0eaa1021ac174edd3cbb77be55.zip
b200: Added variable rate SPI core for AD9361 and ADF4001
- Added b200_local_spi core that adjusts the divider when talking to the two chips - AD9361 rate is 1MHz and ADF4001 rate is 10kHz
Diffstat (limited to 'host/lib/usrp/common/adf4001_ctrl.hpp')
-rw-r--r--host/lib/usrp/common/adf4001_ctrl.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/host/lib/usrp/common/adf4001_ctrl.hpp b/host/lib/usrp/common/adf4001_ctrl.hpp
index a16cff3fa..9ea3caf1a 100644
--- a/host/lib/usrp/common/adf4001_ctrl.hpp
+++ b/host/lib/usrp/common/adf4001_ctrl.hpp
@@ -123,12 +123,11 @@ public:
class adf4001_ctrl {
public:
-
- adf4001_ctrl(spi_core_3000::sptr _spi, int slaveno);
+ adf4001_ctrl(uhd::spi_iface::sptr _spi, int slaveno);
void set_lock_to_ext_ref(bool external);
private:
- spi_core_3000::sptr spi_iface;
+ uhd::spi_iface::sptr spi_iface;
int slaveno;
spi_config_t spi_config;
adf4001_regs_t adf4001_regs;