diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-02-25 16:34:03 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-02-25 20:20:51 +0100 |
commit | fd1e2f8fc1b481b1f0c80798172a601a507914f3 (patch) | |
tree | 57bb9edc5002adccedc25ac5f3108ab2607dd316 /host/lib/usrp/b200/b200_impl.hpp | |
parent | a8caec5f93976c081d488118f53a72dca49efdf6 (diff) | |
download | uhd-fd1e2f8fc1b481b1f0c80798172a601a507914f3.tar.gz uhd-fd1e2f8fc1b481b1f0c80798172a601a507914f3.tar.bz2 uhd-fd1e2f8fc1b481b1f0c80798172a601a507914f3.zip |
b200: Added channel mapping capabilities
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.hpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp index c88d14ad5..a370e54f9 100644 --- a/host/lib/usrp/b200/b200_impl.hpp +++ b/host/lib/usrp/b200/b200_impl.hpp @@ -127,8 +127,7 @@ private: void set_mb_eeprom(const uhd::usrp::mboard_eeprom_t &); void check_fw_compat(void); void check_fpga_compat(void); - void update_rx_subdev_spec(const uhd::usrp::subdev_spec_t &); - void update_tx_subdev_spec(const uhd::usrp::subdev_spec_t &); + void update_subdev_spec(const std::string &tx_rx, const uhd::usrp::subdev_spec_t &); void update_time_source(const std::string &); void update_clock_source(const std::string &); void update_bandsel(const std::string& which, double freq); @@ -150,8 +149,12 @@ private: bool ant_rx2; }; std::vector<radio_perifs_t> _radio_perifs; - void setup_radio(const size_t which_radio); - void handle_overflow(const size_t index); + + /*! \brief Setup the DSP chain for one radio front-end. + * + */ + void setup_radio(const size_t radio_index); + void handle_overflow(const size_t radio_index); struct gpio_state { boost::uint32_t tx_bandsel_a, tx_bandsel_b, rx_bandsel_a, rx_bandsel_b, rx_bandsel_c, codec_arst, mimo, ref_sel; |