aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/usrp_e_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-04 22:44:06 +0000
committerJosh Blum <josh@joshknows.com>2010-06-04 22:44:06 +0000
commita5dca07971587e3b20e57924227c020f13bfd700 (patch)
tree5f9085f373b40c753a38559296cae9daf18a5805 /host/lib/usrp/usrp_e/usrp_e_impl.hpp
parent9fa97e153d01985bc7bdf9db8a97d79a328a3e61 (diff)
downloaduhd-a5dca07971587e3b20e57924227c020f13bfd700.tar.gz
uhd-a5dca07971587e3b20e57924227c020f13bfd700.tar.bz2
uhd-a5dca07971587e3b20e57924227c020f13bfd700.zip
implemented dsp and rx control
Diffstat (limited to 'host/lib/usrp/usrp_e/usrp_e_impl.hpp')
-rw-r--r--host/lib/usrp/usrp_e/usrp_e_impl.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e/usrp_e_impl.hpp b/host/lib/usrp/usrp_e/usrp_e_impl.hpp
index bdb1a675b..a9fd856fe 100644
--- a/host/lib/usrp/usrp_e/usrp_e_impl.hpp
+++ b/host/lib/usrp/usrp_e/usrp_e_impl.hpp
@@ -22,11 +22,14 @@
#include <uhd/usrp/usrp_e.hpp>
#include <uhd/usrp/dboard_eeprom.hpp>
#include <uhd/types/clock_config.hpp>
+#include <uhd/types/stream_cmd.hpp>
#include <uhd/usrp/dboard_manager.hpp>
#ifndef INCLUDED_USRP_E_IMPL_HPP
#define INCLUDED_USRP_E_IMPL_HPP
+static const double MASTER_CLOCK_RATE = 64e6;
+
/*!
* Make a usrp-e dboard interface.
* \param iface the usrp-e interface object
@@ -90,6 +93,7 @@ private:
//handle io stuff
UHD_PIMPL_DECL(io_impl) _io_impl;
void io_init(void);
+ void issue_stream_cmd(const uhd::stream_cmd_t &stream_cmd);
//configuration shadows
uhd::clock_config_t _clock_config;
@@ -131,12 +135,14 @@ private:
void rx_ddc_init(void);
void rx_ddc_get(const wax::obj &, wax::obj &);
void rx_ddc_set(const wax::obj &, const wax::obj &);
+ double _ddc_freq; size_t _ddc_decim;
wax_obj_proxy::sptr _rx_ddc_proxy;
//tx duc functions and settings
void tx_duc_init(void);
void tx_duc_get(const wax::obj &, wax::obj &);
void tx_duc_set(const wax::obj &, const wax::obj &);
+ double _duc_freq; size_t _duc_interp;
wax_obj_proxy::sptr _tx_duc_proxy;
};