diff options
author | Johnathan Corgan | 2010-06-21 17:05:37 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-06-21 17:05:37 -0700 |
commit | 76eabccf014dfd1a055f2797179e3a4c0fe21d37 (patch) | |
tree | 720ab9bbec480e29050f7dde06a41799d688a382 /usrp/host/include | |
parent | 231609db08ccd0fc7bc8bd3282c4309b19e5f596 (diff) | |
parent | f108f96074a7699f87d80dbd1a5bbc7c2170d1db (diff) | |
download | gnuradio-76eabccf014dfd1a055f2797179e3a4c0fe21d37.tar.gz gnuradio-76eabccf014dfd1a055f2797179e3a4c0fe21d37.tar.bz2 gnuradio-76eabccf014dfd1a055f2797179e3a4c0fe21d37.zip |
Merge branch 'master' into next
* master:
Add RFX2200 to burn-db-eeprom
Copy paste for RFX2200 in USRP2
Copy paste for RFX2200 in USRP1
Diffstat (limited to 'usrp/host/include')
-rw-r--r-- | usrp/host/include/usrp/db_flexrf.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/usrp/host/include/usrp/db_flexrf.h b/usrp/host/include/usrp/db_flexrf.h index 0c834402d..70a55514e 100644 --- a/usrp/host/include/usrp/db_flexrf.h +++ b/usrp/host/include/usrp/db_flexrf.h @@ -138,6 +138,18 @@ protected: //---------------------------------------------------------------------- +class _2200_common : public _AD4360_common +{ + public: + _2200_common(); + ~_2200_common() {} + + double freq_min(); + double freq_max(); +}; + +//---------------------------------------------------------------------- + class _2400_common : public _AD4360_common { public: @@ -212,6 +224,34 @@ public: //------------------------------------------------------------ +class db_flexrf_2200_tx : public flexrf_base_tx +{ + public: + db_flexrf_2200_tx(usrp_basic_sptr usrp, int which); + ~db_flexrf_2200_tx(); + + // Wrapper calls to d_common functions + bool _compute_regs(double freq, int &retR, int &retcontrol, + int &retN, double &retfreq); +}; + +class db_flexrf_2200_rx : public flexrf_base_rx +{ +public: + db_flexrf_2200_rx(usrp_basic_sptr usrp, int which); + ~db_flexrf_2200_rx(); + + float gain_min(); + float gain_max(); + float gain_db_per_step(); + bool i_and_q_swapped(); + + bool _compute_regs(double freq, int &retR, int &retcontrol, + int &retN, double &retfreq); +}; + +//------------------------------------------------------------ + class db_flexrf_2400_tx : public flexrf_base_tx { public: |