diff options
author | Mark Meserve <mark.meserve@ni.com> | 2017-08-09 15:17:44 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:00 -0800 |
commit | 309a2f04e3da6667bc44c78121064b2d03e24e75 (patch) | |
tree | 08b453917053ac0a445ee261c694a706d9f5e180 /mpm/include | |
parent | 8ee3da3ef9b812eda2ac3269927191e09916dc3c (diff) | |
download | uhd-309a2f04e3da6667bc44c78121064b2d03e24e75.tar.gz uhd-309a2f04e3da6667bc44c78121064b2d03e24e75.tar.bz2 uhd-309a2f04e3da6667bc44c78121064b2d03e24e75.zip |
mg: General fixes
- Make DB probe-able
- Add RPC client
Diffstat (limited to 'mpm/include')
-rw-r--r-- | mpm/include/mpm/ad937x/ad937x_ctrl.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mpm/include/mpm/ad937x/ad937x_ctrl.hpp b/mpm/include/mpm/ad937x/ad937x_ctrl.hpp index ee3b5d6f3..f26eee92d 100644 --- a/mpm/include/mpm/ad937x/ad937x_ctrl.hpp +++ b/mpm/include/mpm/ad937x/ad937x_ctrl.hpp @@ -74,7 +74,6 @@ public: virtual uint8_t get_framer_status() = 0; virtual uint8_t get_deframer_status() = 0; - virtual uint8_t get_deframer_irq() = 0; virtual uint16_t get_ilas_config_match() = 0; virtual void enable_jesd_loopback(uint8_t enable) = 0; @@ -140,9 +139,10 @@ public: * Sets the RF frequency. This is a per direction setting. * \param which frontend string to specify direction to tune * \param value target frequency + * \param wait_for_lock wait after tuning for the PLL to lock * \return actual frequency */ - virtual double set_freq(const std::string &which, double value) = 0; + virtual double set_freq(const std::string &which, double value, bool wait_for_lock) = 0; /*! \brief get the RF frequency for the direction specified in which * @@ -189,7 +189,6 @@ void export_mykonos(){ .def("get_multichip_sync_status", &ad937x_ctrl::get_multichip_sync_status) .def("get_framer_status", &ad937x_ctrl::get_framer_status) .def("get_deframer_status", &ad937x_ctrl::get_deframer_status) - //.def("get_deframer_irq", &ad937x_ctrl::get_deframer_irq) .def("get_ilas_config_match", &ad937x_ctrl::get_ilas_config_match) .def("enable_jesd_loopback", &ad937x_ctrl::enable_jesd_loopback) .def("get_rf_freq_range", &ad937x_ctrl::get_rf_freq_range) |