diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-06 15:44:15 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-06 15:44:15 -0700 |
commit | 1ca30a49030da2ef248048e17a46738bb3823c4c (patch) | |
tree | c8d6764085f562862b0e166bb05f91f8f9ce06d4 /host/include | |
parent | 189c4c96fc0b40aa98c28f6bd4b95753bdaec970 (diff) | |
download | uhd-1ca30a49030da2ef248048e17a46738bb3823c4c.tar.gz uhd-1ca30a49030da2ef248048e17a46738bb3823c4c.tar.bz2 uhd-1ca30a49030da2ef248048e17a46738bb3823c4c.zip |
uhd: added set time w/ unknown pps to mimo usrp, get tx rate bug fix
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/usrp/mimo_usrp.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/mimo_usrp.hpp b/host/include/uhd/usrp/mimo_usrp.hpp index e85c06046..68a42cad8 100644 --- a/host/include/uhd/usrp/mimo_usrp.hpp +++ b/host/include/uhd/usrp/mimo_usrp.hpp @@ -91,6 +91,24 @@ public: virtual void set_time_next_pps(const time_spec_t &time_spec) = 0; /*! + * Synchronize the times across all motherboards in this configuration. + * Use this method to sync the times when the edge of the PPS is unknown. + * + * Ex: Host machine is not attached to serial port of GPSDO + * and can therefore not query the GPSDO for the PPS edge. + * + * This is a 3-step process, and will take at most 3 seconds to complete. + * Upon completion, the times will be synchronized to the time provided. + * + * - Step1: set the time at the next pps (potential race condition) + * - Step2: wait for the seconds to rollover to catch the pps edge + * - Step3: set the time at the next pps (synchronous for all boards) + * + * \param time_spec the time to latch into the usrp device + */ + virtual void set_time_unknown_pps(const time_spec_t &time_spec) = 0; + + /*! * Issue a stream command to the usrp device. * This tells the usrp to send samples into the host. * See the documentation for stream_cmd_t for more info. |