diff options
author | Jonathon Pendlum <jonathon.pendlum@ettus.com> | 2016-08-01 14:26:30 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-08-09 10:21:53 -0700 |
commit | 8607cf96932120bab3d4775ff297801add6403a0 (patch) | |
tree | 798a2404900f708dc33a08247b420aa752c50d83 /host/lib/usrp/common/ad9361_driver/ad9361_device.h | |
parent | 1356f89fbf3cc8deb770f6532f9d887567dc3668 (diff) | |
download | uhd-8607cf96932120bab3d4775ff297801add6403a0.tar.gz uhd-8607cf96932120bab3d4775ff297801add6403a0.tar.bz2 uhd-8607cf96932120bab3d4775ff297801add6403a0.zip |
ad9361: Added option for safe SPI
- Also added check for reading chip ID
Diffstat (limited to 'host/lib/usrp/common/ad9361_driver/ad9361_device.h')
-rw-r--r-- | host/lib/usrp/common/ad9361_driver/ad9361_device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/common/ad9361_driver/ad9361_device.h b/host/lib/usrp/common/ad9361_driver/ad9361_device.h index 73b1d9a35..d0e8a7e39 100644 --- a/host/lib/usrp/common/ad9361_driver/ad9361_device.h +++ b/host/lib/usrp/common/ad9361_driver/ad9361_device.h @@ -75,6 +75,9 @@ public: /* Initialize the AD9361 codec. */ void initialize(); + /* Set SPI interface */ + void set_io_iface(ad9361_io::sptr io_iface); + /* This function sets the RX / TX rate between AD9361 and the FPGA, and * thus determines the interpolation / decimation required in the FPGA to * achieve the user's requested rate. |