commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r9763 - gnuradio/branches/developers/eb/cppdb-wip/usrp


From: eb
Subject: [Commit-gnuradio] r9763 - gnuradio/branches/developers/eb/cppdb-wip/usrp/host/lib/legacy
Date: Wed, 8 Oct 2008 23:24:17 -0600 (MDT)

Author: eb
Date: 2008-10-08 23:24:16 -0600 (Wed, 08 Oct 2008)
New Revision: 9763

Modified:
   gnuradio/branches/developers/eb/cppdb-wip/usrp/host/lib/legacy/usrp_basic.cc
Log:
added missing methods

Modified: 
gnuradio/branches/developers/eb/cppdb-wip/usrp/host/lib/legacy/usrp_basic.cc
===================================================================
--- 
gnuradio/branches/developers/eb/cppdb-wip/usrp/host/lib/legacy/usrp_basic.cc    
    2008-10-09 05:00:06 UTC (rev 9762)
+++ 
gnuradio/branches/developers/eb/cppdb-wip/usrp/host/lib/legacy/usrp_basic.cc    
    2008-10-09 05:24:16 UTC (rev 9763)
@@ -986,11 +986,29 @@
 }
 
 double
-usrp_basic_rx::pga (int which_amp) const
+usrp_basic_rx::pga(int which_amp) const
 {
   return common_pga(C_RX, which_amp);
 }
 
+double
+usrp_basic_rx::pga_min() const
+{
+  return common_pga_min(C_RX);
+}
+
+double
+usrp_basic_rx::pga_max() const
+{
+  return common_pga_max(C_RX);
+}
+
+double
+usrp_basic_rx::pga_db_per_step() const
+{
+  return common_pga_db_per_step(C_RX);
+}
+
 bool
 usrp_basic_rx::_write_oe (int which_side, int value, int mask)
 {
@@ -1380,6 +1398,24 @@
   return common_pga(C_TX, which_amp);
 }
 
+double
+usrp_basic_tx::pga_min() const
+{
+  return common_pga_min(C_TX);
+}
+
+double
+usrp_basic_tx::pga_max() const
+{
+  return common_pga_max(C_TX);
+}
+
+double
+usrp_basic_tx::pga_db_per_step() const
+{
+  return common_pga_db_per_step(C_TX);
+}
+
 bool
 usrp_basic_tx::_write_oe (int which_side, int value, int mask)
 {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]