diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-12-10 12:18:02 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-11 18:43:10 -0800 |
commit | 0336b6fb3500fe12326a8618e65c1f48f0a36f1c (patch) | |
tree | 79ac11638d28e9f11e896337ee2194bb306834f7 /host/lib/usrp/usrp2/clock_ctrl.hpp | |
parent | 8af031ad8957817c5e93a2da41ca569dcd088a6f (diff) | |
download | uhd-0336b6fb3500fe12326a8618e65c1f48f0a36f1c.tar.gz uhd-0336b6fb3500fe12326a8618e65c1f48f0a36f1c.tar.bz2 uhd-0336b6fb3500fe12326a8618e65c1f48f0a36f1c.zip |
packet_router: added set_mimo_clock_delay to clock_ctrl.
Delay range is fixed right now to [0.444, 9.744]ns in 300ps increments
Diffstat (limited to 'host/lib/usrp/usrp2/clock_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/usrp2/clock_ctrl.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/clock_ctrl.hpp b/host/lib/usrp/usrp2/clock_ctrl.hpp index 10523fa6b..2ec347cac 100644 --- a/host/lib/usrp/usrp2/clock_ctrl.hpp +++ b/host/lib/usrp/usrp2/clock_ctrl.hpp @@ -95,6 +95,14 @@ public: * \param enb true to enable */ virtual void enable_mimo_clock_out(bool enb) = 0; + + /*! + * Set the output delay of the mimo clock + * Used to synchronise daisy-chained USRPs over the MIMO cable + * Can also be used to adjust delay for uneven reference cable lengths + * \param delay in an arbitrary scaling + */ + virtual void set_mimo_clock_delay(boost::uint8_t delay) = 0; }; |