diff options
author | Trung N Tran <trung.tran@ettus.com> | 2017-11-16 16:17:11 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:57 -0800 |
commit | b9a0cf1467e89000658f69089bb773722e41ea89 (patch) | |
tree | 80ce5beb47c1a93694b16a7bbed365d1a0175c4c /mpm/lib/mykonos/ad937x_device.hpp | |
parent | 73eb899e533d29c456eed1bc0ae72ff65676daf1 (diff) | |
download | uhd-b9a0cf1467e89000658f69089bb773722e41ea89.tar.gz uhd-b9a0cf1467e89000658f69089bb773722e41ea89.tar.bz2 uhd-b9a0cf1467e89000658f69089bb773722e41ea89.zip |
mpm: Enable TX external LO set through args, simplify code
Simplify the process of setting external LO without calling through many API
layers.
Reviewed-By: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'mpm/lib/mykonos/ad937x_device.hpp')
-rw-r--r-- | mpm/lib/mykonos/ad937x_device.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mpm/lib/mykonos/ad937x_device.hpp b/mpm/lib/mykonos/ad937x_device.hpp index 60f78d2e5..9abd2942b 100644 --- a/mpm/lib/mykonos/ad937x_device.hpp +++ b/mpm/lib/mykonos/ad937x_device.hpp @@ -55,6 +55,8 @@ public: void begin_initialization(); void finish_initialization(); void setup_cal(uint32_t init_cals_mask, uint32_t tracking_cals_mask, uint32_t timeout); + uint8_t set_lo_source(const uhd::direction_t direction, const uint8_t pll_source); + uint8_t get_lo_source(const uhd::direction_t direction) const; void start_jesd_rx(); void start_jesd_tx(); void start_radio(); |