summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-03 13:35:15 -0700
committerJosh Blum <josh@joshknows.com>2011-05-03 13:35:15 -0700
commitb4fc0d61bb6cbd1a5614745bab9aeb0abc22cb6f (patch)
treed1614748a219a97c9e60a855c1523e4f0fde3449 /host/include
parentd66766f86ae19c9e20f89ec4f60e81d88983f9c7 (diff)
downloaduhd-b4fc0d61bb6cbd1a5614745bab9aeb0abc22cb6f.tar.gz
uhd-b4fc0d61bb6cbd1a5614745bab9aeb0abc22cb6f.tar.bz2
uhd-b4fc0d61bb6cbd1a5614745bab9aeb0abc22cb6f.zip
usrp2: added REF_MIMO and PPS_MIMO for USRP2 clock config
Basically, one can tell a MIMO master to lock to MIMO ref and/or time. This is an alternative to the mimo_mode=slave/master device args. When using this alternative, one should always set the mimo_mode to maser. When in master mode, any clock config settings can be used. When in slave mode, the clock config setting are forced to MIMO_REF/PPS
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/types/clock_config.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/include/uhd/types/clock_config.hpp b/host/include/uhd/types/clock_config.hpp
index 577416d77..24bd96d14 100644
--- a/host/include/uhd/types/clock_config.hpp
+++ b/host/include/uhd/types/clock_config.hpp
@@ -44,10 +44,12 @@ namespace uhd{
REF_AUTO = int('a'), //automatic (device specific)
REF_INT = int('i'), //internal reference
REF_SMA = int('s'), //external sma port
+ REF_MIMO = int('m'), //reference from mimo cable
} ref_source;
enum pps_source_t {
PPS_INT = int('i'), //there is no internal
PPS_SMA = int('s'), //external sma port
+ PPS_MIMO = int('m'), //time sync from mimo cable
} pps_source;
enum pps_polarity_t {
PPS_NEG = int('n'), //negative edge