From 9b388ac1184c71449c49fb44551c5c38f8098d8e Mon Sep 17 00:00:00 2001 From: jcorgan Date: Wed, 4 Feb 2009 23:06:02 +0000 Subject: 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 --- usrp2/host/include/usrp2/usrp2.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'usrp2/host/include') 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 @@ -115,6 +115,11 @@ namespace usrp2 { //! return Rx gain db_per_step double rx_gain_db_per_step(); + /*! + * \brief Set receive daughterboard LO offset frequency + */ + bool set_rx_lo_offset(double frequency); + /*! * Set receiver center frequency */ @@ -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 */ -- cgit