From 41657ecc535386e39c4ff78cd84c8533b7599741 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Wed, 13 Aug 2014 10:29:31 -0700 Subject: ad9361: Cleaned up constants and macros --- host/lib/usrp/common/ad9361_driver/ad9361_device.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/usrp/common/ad9361_driver/ad9361_device.h') 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); -- cgit v1.2.3