aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-11-08 08:41:46 -0800
committerMartin Braun <martin.braun@ettus.com>2016-11-08 08:41:46 -0800
commit9b852f5f243e5cf68662b7152b5fa331a83e55fb (patch)
tree159ffe0761f78dd87e2ecc97abea14494abab4ff /host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
parentc66cb1bad0d881394f3519bd94f4693cceab4c64 (diff)
parent99c2730bc9db270560671f2d7d173768465ed51f (diff)
downloaduhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.gz
uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.bz2
uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/e300/e300_remote_codec_ctrl.hpp')
-rw-r--r--host/lib/usrp/e300/e300_remote_codec_ctrl.hpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp b/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
index 43723e0d5..9453a6b39 100644
--- a/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
+++ b/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
@@ -27,8 +27,8 @@ class e300_remote_codec_ctrl : public uhd::usrp::ad9361_ctrl
{
public:
struct transaction_t {
- boost::uint32_t action;
- boost::uint32_t which;
+ uint32_t action;
+ uint32_t which;
union {
double rate;
double gain;
@@ -36,34 +36,34 @@ public:
double rssi;
double temp;
double bw;
- boost::uint32_t use_dc_correction;
- boost::uint32_t use_iq_correction;
- boost::uint32_t use_agc;
- boost::uint32_t agc_mode;
- boost::uint64_t bits;
+ uint32_t use_dc_correction;
+ uint32_t use_iq_correction;
+ uint32_t use_agc;
+ uint32_t agc_mode;
+ uint64_t bits;
};
//Actions
- static const boost::uint32_t ACTION_SET_GAIN = 10;
- static const boost::uint32_t ACTION_SET_CLOCK_RATE = 11;
- static const boost::uint32_t ACTION_SET_ACTIVE_CHANS = 12;
- static const boost::uint32_t ACTION_TUNE = 13;
- static const boost::uint32_t ACTION_SET_LOOPBACK = 14;
- static const boost::uint32_t ACTION_GET_RSSI = 15;
- static const boost::uint32_t ACTION_GET_TEMPERATURE = 16;
- static const boost::uint32_t ACTION_SET_DC_OFFSET_AUTO = 17;
- static const boost::uint32_t ACTION_SET_IQ_BALANCE_AUTO = 18;
- static const boost::uint32_t ACTION_SET_AGC = 19;
- static const boost::uint32_t ACTION_SET_AGC_MODE = 20;
- static const boost::uint32_t ACTION_SET_BW = 21;
- static const boost::uint32_t ACTION_GET_FREQ = 22;
+ static const uint32_t ACTION_SET_GAIN = 10;
+ static const uint32_t ACTION_SET_CLOCK_RATE = 11;
+ static const uint32_t ACTION_SET_ACTIVE_CHANS = 12;
+ static const uint32_t ACTION_TUNE = 13;
+ static const uint32_t ACTION_SET_LOOPBACK = 14;
+ static const uint32_t ACTION_GET_RSSI = 15;
+ static const uint32_t ACTION_GET_TEMPERATURE = 16;
+ static const uint32_t ACTION_SET_DC_OFFSET_AUTO = 17;
+ static const uint32_t ACTION_SET_IQ_BALANCE_AUTO = 18;
+ static const uint32_t ACTION_SET_AGC = 19;
+ static const uint32_t ACTION_SET_AGC_MODE = 20;
+ static const uint32_t ACTION_SET_BW = 21;
+ static const uint32_t ACTION_GET_FREQ = 22;
//Values for "which"
- static const boost::uint32_t CHAIN_NONE = 0;
- static const boost::uint32_t CHAIN_TX1 = 1;
- static const boost::uint32_t CHAIN_TX2 = 2;
- static const boost::uint32_t CHAIN_RX1 = 3;
- static const boost::uint32_t CHAIN_RX2 = 4;
+ static const uint32_t CHAIN_NONE = 0;
+ static const uint32_t CHAIN_TX1 = 1;
+ static const uint32_t CHAIN_TX2 = 2;
+ static const uint32_t CHAIN_RX1 = 3;
+ static const uint32_t CHAIN_RX2 = 4;
};
static sptr make(uhd::transport::zero_copy_if::sptr xport);