From 2467deeb17774bae03b1be01d1bc3454aa387948 Mon Sep 17 00:00:00 2001 From: Trung N Tran Date: Wed, 22 Nov 2017 15:15:20 -0800 Subject: mpm: mykonos: Add API to change master clock rate --- mpm/lib/mykonos/ad937x_device.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mpm/lib/mykonos/ad937x_device.hpp') diff --git a/mpm/lib/mykonos/ad937x_device.hpp b/mpm/lib/mykonos/ad937x_device.hpp index c816680c4..60f78d2e5 100644 --- a/mpm/lib/mykonos/ad937x_device.hpp +++ b/mpm/lib/mykonos/ad937x_device.hpp @@ -51,6 +51,7 @@ public: mpm::types::regs_iface* iface, mpm::ad937x::gpio::gain_pins_t gain_pins ); + void begin_initialization(); void finish_initialization(); void setup_cal(uint32_t init_cals_mask, uint32_t tracking_cals_mask, uint32_t timeout); @@ -83,8 +84,8 @@ public: bool get_pll_lock_status(uint8_t pll, bool wait_for_lock = false); - void set_fir(uhd::direction_t direction, mpm::ad937x::device::chain_t chain, int8_t gain, const std::vector & fir); - std::vector get_fir(uhd::direction_t direction, mpm::ad937x::device::chain_t chain, int8_t &gain); + void set_fir(uhd::direction_t direction, int8_t gain, const std::vector & fir); + std::vector get_fir(uhd::direction_t direction, int8_t &gain); int16_t get_temperature(); @@ -94,6 +95,7 @@ public: void update_tx_lo_source(uint8_t rxPllUseExternalLo); uint8_t get_rx_lo_source(); uint8_t get_tx_lo_source(); + void set_master_clock_rate(const double rate); const static double MIN_FREQ; const static double MAX_FREQ; const static double MIN_RX_GAIN; -- cgit v1.2.3