aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/ad9361_driver/ad9361_device.h
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-08-13 10:29:31 -0700
committerAshish Chaudhari <ashish@ettus.com>2014-08-13 10:29:31 -0700
commit41657ecc535386e39c4ff78cd84c8533b7599741 (patch)
tree8b737a2fe6d0da8d4232705ac23008e9ca2551c4 /host/lib/usrp/common/ad9361_driver/ad9361_device.h
parent302dfa7ea7c651c39fc6a93b82a027e9e3bc2b8c (diff)
downloaduhd-41657ecc535386e39c4ff78cd84c8533b7599741.tar.gz
uhd-41657ecc535386e39c4ff78cd84c8533b7599741.tar.bz2
uhd-41657ecc535386e39c4ff78cd84c8533b7599741.zip
ad9361: Cleaned up constants and macros
Diffstat (limited to 'host/lib/usrp/common/ad9361_driver/ad9361_device.h')
-rw-r--r--host/lib/usrp/common/ad9361_driver/ad9361_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/common/ad9361_driver/ad9361_device.h b/host/lib/usrp/common/ad9361_driver/ad9361_device.h
index 4b637e95c..079f5dc1d 100644
--- a/host/lib/usrp/common/ad9361_driver/ad9361_device.h
+++ b/host/lib/usrp/common/ad9361_driver/ad9361_device.h
@@ -62,6 +62,10 @@ public:
/* Turn on/off AD9361's TX port --> RX port loopback. */
void data_port_loopback(const bool loopback_enabled);
+ //Constants
+ static const double AD9361_MAX_GAIN = 89.75;
+ static const double AD9361_MAX_CLOCK_RATE = 61.44e6;
+
private: //Methods
void _program_fir_filter(direction_t direction, int num_taps, boost::uint16_t *coeffs);
void _setup_tx_fir(size_t num_taps);