diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-03-27 17:41:13 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-03-27 17:41:13 -0700 |
commit | f8753a3d7f3616a49f6c0a1ae661f286a4f20c66 (patch) | |
tree | c88bee6725422d1fd4ead1f52cf63c119a3c723c /host/lib/usrp/b200/b200_impl.hpp | |
parent | 89d36657a177ba3405ffb7a537a3e2f744a1e7ce (diff) | |
parent | da99b7edc2d1cfedd9c8acf36630d799782ee455 (diff) | |
download | uhd-f8753a3d7f3616a49f6c0a1ae661f286a4f20c66.tar.gz uhd-f8753a3d7f3616a49f6c0a1ae661f286a4f20c66.tar.bz2 uhd-f8753a3d7f3616a49f6c0a1ae661f286a4f20c66.zip |
Merge branch adding warning regarding MCR on the B2xx.
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 a370e54f9..7d98a8f8d 100644 --- a/host/lib/usrp/b200/b200_impl.hpp +++ b/host/lib/usrp/b200/b200_impl.hpp @@ -91,6 +91,7 @@ public: uhd::rx_streamer::sptr get_rx_stream(const uhd::stream_args_t &args); uhd::tx_streamer::sptr get_tx_stream(const uhd::stream_args_t &args); bool recv_async_msg(uhd::async_metadata_t &, double); + void check_streamer_args(const uhd::stream_args_t &args, double tick_rate, const char* direction = NULL); private: //controllers @@ -177,13 +178,15 @@ private: void update_enables(void); void update_atrs(void); - void update_tick_rate(const double); - void update_rx_samp_rate(const size_t, const double); - void update_tx_samp_rate(const size_t, const double); - double _tick_rate; double get_tick_rate(void){return _tick_rate;} double set_tick_rate(const double rate); + void update_tick_rate(const double); + void enforce_tick_rate_limits(size_t chan_count, double tick_rate, const char* direction = NULL); + void check_tick_rate_with_current_streamers(double rate); + + void update_rx_samp_rate(const size_t, const double); + void update_tx_samp_rate(const size_t, const double); }; #endif /* INCLUDED_B200_IMPL_HPP */ |