aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_impl.hpp
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2015-10-14 11:57:15 -0700
committerMartin Braun <martin.braun@ettus.com>2015-12-10 14:21:49 -0800
commitc21c5ee6fe6c0e30ac803b308d74ec77317a456f (patch)
tree141d27b1a889b8c593a2ac6bb6e0ee5d60bdd462 /host/lib/usrp/e300/e300_impl.hpp
parentf90b62f3871fb701a8d9cb7c91c1a7f3421fced9 (diff)
downloaduhd-c21c5ee6fe6c0e30ac803b308d74ec77317a456f.tar.gz
uhd-c21c5ee6fe6c0e30ac803b308d74ec77317a456f.tar.bz2
uhd-c21c5ee6fe6c0e30ac803b308d74ec77317a456f.zip
E300/X300: Add VITA time synchronization on internal signal
Diffstat (limited to 'host/lib/usrp/e300/e300_impl.hpp')
-rw-r--r--host/lib/usrp/e300/e300_impl.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_impl.hpp b/host/lib/usrp/e300/e300_impl.hpp
index 8aff51466..1f20726ea 100644
--- a/host/lib/usrp/e300/e300_impl.hpp
+++ b/host/lib/usrp/e300/e300_impl.hpp
@@ -200,6 +200,8 @@ private: // types
boost::uint32_t rx_bandsel_b;
boost::uint32_t rx_bandsel_c;
+ boost::uint32_t time_sync;
+
static const size_t PPS_SEL = 0;
static const size_t MIMO = 2;
static const size_t CODEC_ARST = 3;
@@ -207,6 +209,7 @@ private: // types
static const size_t RX_BANDSELA = 7;
static const size_t RX_BANDSELB = 13;
static const size_t RX_BANDSELC = 17;
+ static const size_t TIME_SYNC = 21;
};
private: // methods
@@ -257,6 +260,7 @@ private: // methods
void _update_time_source(const std::string &source);
void _update_clock_source(const std::string &);
+ void _sync_times(const uhd::time_spec_t&);
void _update_subdev_spec(
const std::string &txrx,