diff options
author | michael-west <michael.west@ettus.com> | 2015-01-29 18:37:39 -0800 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2015-04-10 18:32:59 -0700 |
commit | e5855d2b26d65e02172ce4d238da5c816dbee288 (patch) | |
tree | fbae94be3df71678fdc471f6d81a30ce514bc944 /host/lib/usrp/dboard/db_sbx_common.hpp | |
parent | f80677f185f607f27878b5f3e3fb5602ba0d185c (diff) | |
download | uhd-e5855d2b26d65e02172ce4d238da5c816dbee288.tar.gz uhd-e5855d2b26d65e02172ce4d238da5c816dbee288.tar.bz2 uhd-e5855d2b26d65e02172ce4d238da5c816dbee288.zip |
Fix for BUG #683: UHD: Need to factor out MAX287x code for UBX and CBX
- Factored out MAX287x code into common header file
- Added necessary code for MAX2871 synchronization.
Diffstat (limited to 'host/lib/usrp/dboard/db_sbx_common.hpp')
-rw-r--r-- | host/lib/usrp/dboard/db_sbx_common.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_sbx_common.hpp b/host/lib/usrp/dboard/db_sbx_common.hpp index 58f79a606..a08d22537 100644 --- a/host/lib/usrp/dboard/db_sbx_common.hpp +++ b/host/lib/usrp/dboard/db_sbx_common.hpp @@ -17,7 +17,8 @@ #include <uhd/types/device_addr.hpp> -#include "../common/adf435x_common.hpp" +#include "adf435x_common.hpp" +#include "max287x.hpp" // Common IO Pins #define LO_LPF_EN (1 << 15) @@ -223,6 +224,10 @@ protected: /*! This is the registered instance of the wrapper class, sbx_base. */ sbx_xcvr *self_base; + private: + void write_lo_regs(dboard_iface::unit_t unit, std::vector<boost::uint32_t> ®s); + max287x_iface::sptr _txlo; + max287x_iface::sptr _rxlo; }; /*! |