summaryrefslogtreecommitdiff
path: root/usrp2/host/include
diff options
context:
space:
mode:
authorjcorgan2009-02-04 23:06:02 +0000
committerjcorgan2009-02-04 23:06:02 +0000
commit9b388ac1184c71449c49fb44551c5c38f8098d8e (patch)
tree619f89d81e2030a831063415c29d78c739e47c1c /usrp2/host/include
parent68282b6ffed904bb55700314a600fe5d731dd0ea (diff)
downloadgnuradio-9b388ac1184c71449c49fb44551c5c38f8098d8e.tar.gz
gnuradio-9b388ac1184c71449c49fb44551c5c38f8098d8e.tar.bz2
gnuradio-9b388ac1184c71449c49fb44551c5c38f8098d8e.zip
Merged r10383:10390 from jcorgan/u2-wip into trunk.
* Implements daughterboard independent LO offset tuning * Removes RFX specific LO offset code * Adds 'set_lo_offset' to libusrp2 and Python API * Adds --lo-offset to usrp2_fft.py and usrp2_rx_cfile.py * Ensures daughterboards are reset to default values at startup. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10392 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/host/include')
-rw-r--r--usrp2/host/include/usrp2/usrp2.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/usrp2/host/include/usrp2/usrp2.h b/usrp2/host/include/usrp2/usrp2.h
index 39da63aa5..2186ce90b 100644
--- a/usrp2/host/include/usrp2/usrp2.h
+++ b/usrp2/host/include/usrp2/usrp2.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2008 Free Software Foundation, Inc.
+ * Copyright 2008,2009 Free Software Foundation, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -116,6 +116,11 @@ namespace usrp2 {
double rx_gain_db_per_step();
/*!
+ * \brief Set receive daughterboard LO offset frequency
+ */
+ bool set_rx_lo_offset(double frequency);
+
+ /*!
* Set receiver center frequency
*/
bool set_rx_center_freq(double frequency, tune_result *result);
@@ -200,6 +205,11 @@ namespace usrp2 {
//! return Tx gain db_per_step
double tx_gain_db_per_step();
+ /*
+ * \brief Set transmit daughterboard LO offset frequency
+ */
+ bool set_tx_lo_offset(double frequency);
+
/*!
* Set transmitter center frequency
*/