aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/ad9361_driver/ad9361_device.h
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-08-12 18:51:29 -0700
committerAshish Chaudhari <ashish@ettus.com>2014-08-12 18:51:29 -0700
commit9ad16ae70eb3a0448b297817a21c3cd66f5fbfa4 (patch)
treea0253d8aa5f41b9d64411f49ba7a1b4e679bcb3f /host/lib/usrp/common/ad9361_driver/ad9361_device.h
parentf999fe6552fa6e406dc6e6c18d041963dfa20f6e (diff)
downloaduhd-9ad16ae70eb3a0448b297817a21c3cd66f5fbfa4.tar.gz
uhd-9ad16ae70eb3a0448b297817a21c3cd66f5fbfa4.tar.bz2
uhd-9ad16ae70eb3a0448b297817a21c3cd66f5fbfa4.zip
ad9361: Converted stdint types to boost types
Diffstat (limited to 'host/lib/usrp/common/ad9361_driver/ad9361_device.h')
-rw-r--r--host/lib/usrp/common/ad9361_driver/ad9361_device.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/host/lib/usrp/common/ad9361_driver/ad9361_device.h b/host/lib/usrp/common/ad9361_driver/ad9361_device.h
index f54e04473..4b637e95c 100644
--- a/host/lib/usrp/common/ad9361_driver/ad9361_device.h
+++ b/host/lib/usrp/common/ad9361_driver/ad9361_device.h
@@ -5,7 +5,6 @@
#ifndef INCLUDED_AD9361_DEVICE_H
#define INCLUDED_AD9361_DEVICE_H
-#include <stdint.h>
#include <ad9361_client.h>
#include <boost/noncopyable.hpp>
@@ -64,7 +63,7 @@ public:
void data_port_loopback(const bool loopback_enabled);
private: //Methods
- void _program_fir_filter(direction_t direction, int num_taps, uint16_t *coeffs);
+ void _program_fir_filter(direction_t direction, int num_taps, boost::uint16_t *coeffs);
void _setup_tx_fir(size_t num_taps);
void _setup_rx_fir(size_t num_taps);
void _calibrate_lock_bbpll();
@@ -90,13 +89,13 @@ private: //Methods
private: //Members
typedef struct {
- uint8_t vcodivs;
- uint8_t inputsel;
- uint8_t rxfilt;
- uint8_t txfilt;
- uint8_t bbpll;
- uint8_t bbftune_config;
- uint8_t bbftune_mode;
+ boost::uint8_t vcodivs;
+ boost::uint8_t inputsel;
+ boost::uint8_t rxfilt;
+ boost::uint8_t txfilt;
+ boost::uint8_t bbpll;
+ boost::uint8_t bbftune_config;
+ boost::uint8_t bbftune_mode;
} chip_regs_t;
//Interfaces
@@ -106,10 +105,10 @@ private: //Members
double _rx_freq, _tx_freq, _req_rx_freq, _req_tx_freq;
double _baseband_bw, _bbpll_freq, _adcclock_freq;
double _req_clock_rate, _req_coreclk;
- uint16_t _rx_bbf_tunediv;
- uint8_t _curr_gain_table;
- uint32_t _rx1_gain, _rx2_gain, _tx1_gain, _tx2_gain;
- int32_t _tfir_factor;
+ boost::uint16_t _rx_bbf_tunediv;
+ boost::uint8_t _curr_gain_table;
+ boost::uint32_t _rx1_gain, _rx2_gain, _tx1_gain, _tx2_gain;
+ boost::int32_t _tfir_factor;
//Register soft-copies
chip_regs_t _regs;
};