aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100/e100_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-09-28 12:04:08 -0700
committerJosh Blum <josh@joshknows.com>2011-09-28 12:04:08 -0700
commit5098256a258623b2d0bb6aa54b923f22e92a178f (patch)
tree1bc0019735f0b1b557f5b573b4bbbe8713646ffd /host/lib/usrp/e100/e100_impl.hpp
parent0d9421b7ab57471d0bb223117413d01ac8299240 (diff)
downloaduhd-5098256a258623b2d0bb6aa54b923f22e92a178f.tar.gz
uhd-5098256a258623b2d0bb6aa54b923f22e92a178f.tar.bz2
uhd-5098256a258623b2d0bb6aa54b923f22e92a178f.zip
e100: added support for internal gpsdo
Diffstat (limited to 'host/lib/usrp/e100/e100_impl.hpp')
-rw-r--r--host/lib/usrp/e100/e100_impl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/e100/e100_impl.hpp b/host/lib/usrp/e100/e100_impl.hpp
index 99c8481e3..536eba040 100644
--- a/host/lib/usrp/e100/e100_impl.hpp
+++ b/host/lib/usrp/e100/e100_impl.hpp
@@ -31,6 +31,7 @@
#include <uhd/usrp/subdev_spec.hpp>
#include <uhd/usrp/dboard_eeprom.hpp>
#include <uhd/usrp/mboard_eeprom.hpp>
+#include <uhd/usrp/gps_ctrl.hpp>
#include <uhd/types/sensors.hpp>
#include <uhd/types/otw_type.hpp>
#include <uhd/types/clock_config.hpp>
@@ -47,6 +48,7 @@ uhd::transport::zero_copy_if::sptr e100_make_mmap_zero_copy(e100_ctrl::sptr ifac
static const double E100_RX_LINK_RATE_BPS = 166e6/3/2*2;
static const double E100_TX_LINK_RATE_BPS = 166e6/3/1*2;
static const std::string E100_I2C_DEV_NODE = "/dev/i2c-3";
+static const std::string E100_UART_DEV_NODE = "/dev/ttyO1";
static const boost::uint16_t E100_FPGA_COMPAT_NUM = 0x06;
static const boost::uint32_t E100_RX_SID_BASE = 2;
static const boost::uint32_t E100_TX_ASYNC_SID = 1;
@@ -98,6 +100,7 @@ private:
e100_ctrl::sptr _fpga_ctrl;
uhd::i2c_iface::sptr _dev_i2c_iface;
uhd::spi_iface::sptr _aux_spi_iface;
+ uhd::gps_ctrl::sptr _gps;
//transports
uhd::transport::zero_copy_if::sptr _data_transport;