aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/twinrx/twinrx_ctrl.hpp
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2019-04-24 16:05:40 -0500
committerMartin Braun <martin.braun@ettus.com>2019-05-02 14:36:21 -0700
commit23ed46556763a216d59b7521b0e8910ef3791287 (patch)
tree7a8a22d18abf1d5df46f7daf94805a34aa0d32ff /host/lib/usrp/dboard/twinrx/twinrx_ctrl.hpp
parent47c2ba9054fa48991c398b9f245958072f2c7c65 (diff)
downloaduhd-23ed46556763a216d59b7521b0e8910ef3791287.tar.gz
uhd-23ed46556763a216d59b7521b0e8910ef3791287.tar.bz2
uhd-23ed46556763a216d59b7521b0e8910ef3791287.zip
twinrx: add lo charge pump properties
Diffstat (limited to 'host/lib/usrp/dboard/twinrx/twinrx_ctrl.hpp')
-rw-r--r--host/lib/usrp/dboard/twinrx/twinrx_ctrl.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/twinrx/twinrx_ctrl.hpp b/host/lib/usrp/dboard/twinrx/twinrx_ctrl.hpp
index 7638d4509..dfdacde11 100644
--- a/host/lib/usrp/dboard/twinrx/twinrx_ctrl.hpp
+++ b/host/lib/usrp/dboard/twinrx/twinrx_ctrl.hpp
@@ -11,6 +11,7 @@
#include "twinrx_io.hpp"
#include <uhd/types/wb_iface.hpp>
#include <uhd/utils/noncopyable.hpp>
+#include <uhd/types/ranges.hpp>
namespace uhd { namespace usrp { namespace dboard { namespace twinrx {
@@ -81,6 +82,14 @@ public:
virtual double set_lo2_synth_freq(channel_t ch, double freq, bool commit = true) = 0;
+ virtual double set_lo1_charge_pump(channel_t ch, double current, bool commit = true) = 0;
+
+ virtual double set_lo2_charge_pump(channel_t ch, double current, bool commit = true) = 0;
+
+ virtual uhd::meta_range_t get_lo1_charge_pump_range() = 0;
+
+ virtual uhd::meta_range_t get_lo2_charge_pump_range() = 0;
+
virtual bool read_lo1_locked(channel_t ch) = 0;
virtual bool read_lo2_locked(channel_t ch) = 0;