diff options
author | Andrej Rode <andrej.rode@ettus.com> | 2017-02-17 18:48:33 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-02-20 11:57:24 -0800 |
commit | deee58982a45718570dce4910112d6a4b56b2480 (patch) | |
tree | 0e5852a2d398288d0cccd76e18aab0dcbc345233 /host/lib/usrp | |
parent | 784337d946b5461e4660f4f4cf70624882bba8bc (diff) | |
download | uhd-deee58982a45718570dce4910112d6a4b56b2480.tar.gz uhd-deee58982a45718570dce4910112d6a4b56b2480.tar.bz2 uhd-deee58982a45718570dce4910112d6a4b56b2480.zip |
cores: unhide virtual overloaded functions in gpio_atr_3000
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/cores/gpio_atr_3000.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/cores/gpio_atr_3000.cpp b/host/lib/usrp/cores/gpio_atr_3000.cpp index 6df592e1b..4b141e2ab 100644 --- a/host/lib/usrp/cores/gpio_atr_3000.cpp +++ b/host/lib/usrp/cores/gpio_atr_3000.cpp @@ -271,6 +271,7 @@ public: return (~_atr_disable_reg.get()) >> compute_shift(unit); } + using gpio_atr_3000_impl::set_gpio_ddr; inline void set_gpio_ddr(const db_unit_t unit, const uint32_t value, const uint32_t mask) { gpio_atr_3000_impl::set_gpio_ddr(DDR_OUTPUT, compute_mask(unit, value&mask)); @@ -282,6 +283,7 @@ public: return _ddr_reg.get() >> compute_shift(unit); } + using gpio_atr_3000_impl::set_atr_reg; inline void set_atr_reg(const db_unit_t unit, const gpio_atr_reg_t atr, const uint32_t value, const uint32_t mask) { gpio_atr_3000_impl::set_atr_reg(atr, value << compute_shift(unit), compute_mask(unit, mask)); @@ -300,6 +302,7 @@ public: return (reg->get() & compute_mask(unit, MASK_SET_ALL)) >> compute_shift(unit); } + using gpio_atr_3000_impl::set_gpio_out; inline void set_gpio_out(const db_unit_t unit, const uint32_t value, const uint32_t mask) { gpio_atr_3000_impl::set_gpio_out( @@ -312,6 +315,7 @@ public: return (_atr_idle_reg.get_gpio_out() & compute_mask(unit, MASK_SET_ALL)) >> compute_shift(unit); } + using gpio_atr_3000_impl::read_gpio; inline uint32_t read_gpio(const db_unit_t unit) { return (gpio_atr_3000_impl::read_gpio() & compute_mask(unit, MASK_SET_ALL)) >> compute_shift(unit); |