GNU Radio 3.3.0 C++ API
|
Abstract base class for all USRP daughterboards. More...
#include <db_base.h>
Abstract base class for all USRP daughterboards.
"base class" for firmware version of daughterboard code
db_base::db_base | ( | boost::shared_ptr< usrp_basic > | usrp, |
int | which | ||
) |
virtual db_base::~db_base | ( | ) | [virtual] |
void db_base::_enable_refclk | ( | bool | enable | ) | [protected] |
virtual int db_base::_refclk_divisor | ( | ) | [protected, virtual] |
Reimplemented in flexrf_base, db_flexrf_2400_tx_mimo_a, db_flexrf_2400_rx_mimo_a, db_flexrf_2400_tx_mimo_b, db_flexrf_2400_rx_mimo_b, db_flexrf_1800_tx_mimo_a, db_flexrf_1800_rx_mimo_a, db_flexrf_1800_tx_mimo_b, db_flexrf_1800_rx_mimo_b, db_flexrf_1200_tx_mimo_a, db_flexrf_1200_rx_mimo_a, db_flexrf_1200_tx_mimo_b, db_flexrf_1200_rx_mimo_b, db_flexrf_900_tx_mimo_a, db_flexrf_900_rx_mimo_a, db_flexrf_900_tx_mimo_b, db_flexrf_900_rx_mimo_b, db_flexrf_400_tx_mimo_a, db_flexrf_400_rx_mimo_a, db_flexrf_400_tx_mimo_b, db_flexrf_400_rx_mimo_b, db_tv_rx_mimo, and wbx_base.
virtual double db_base::_refclk_freq | ( | ) | [protected, virtual] |
Reimplemented in wbx_base, db_wbx_lo_tx, and db_wbx_lo_rx.
int db_base::dbid | ( | ) |
virtual double db_base::freq_max | ( | ) | [pure virtual] |
Implemented in db_basic_tx, db_basic_rx, db_lf_rx, db_lf_tx, db_bitshark_rx, db_dbs_rx, db_dtt754, db_dtt768, flexrf_base, db_tv_rx, wbxng_base, and db_xcvr2450_base.
virtual double db_base::freq_min | ( | ) | [pure virtual] |
Implemented in db_basic_tx, db_basic_rx, db_lf_rx, db_lf_tx, db_bitshark_rx, db_dbs_rx, db_dtt754, db_dtt768, flexrf_base, db_tv_rx, wbxng_base, and db_xcvr2450_base.
virtual float db_base::gain_db_per_step | ( | ) | [pure virtual] |
Implemented in db_basic_tx, db_basic_rx, db_bitshark_rx, db_dbs_rx, db_dtt754, db_dtt768, flexrf_base_tx, db_flexrf_2400_rx, db_flexrf_1200_rx, db_flexrf_1800_rx, db_flexrf_900_rx, db_flexrf_400_rx, db_tv_rx, wbxng_base_tx, db_wbxng_rx, db_xcvr2450_tx, db_xcvr2450_rx, wbx_base, db_wbx_lo_tx, and db_wbx_lo_rx.
virtual float db_base::gain_max | ( | ) | [pure virtual] |
Implemented in db_basic_tx, db_basic_rx, db_bitshark_rx, db_dbs_rx, db_dtt754, db_dtt768, flexrf_base_tx, db_flexrf_2400_rx, db_flexrf_1200_rx, db_flexrf_1800_rx, db_flexrf_900_rx, db_flexrf_400_rx, db_tv_rx, wbxng_base_tx, db_wbxng_rx, db_xcvr2450_tx, db_xcvr2450_rx, wbx_base, db_wbx_lo_tx, and db_wbx_lo_rx.
virtual float db_base::gain_min | ( | ) | [pure virtual] |
Implemented in db_basic_tx, db_basic_rx, db_bitshark_rx, db_dbs_rx, db_dtt754, db_dtt768, flexrf_base_tx, db_flexrf_2400_rx, db_flexrf_1200_rx, db_flexrf_1800_rx, db_flexrf_900_rx, db_flexrf_400_rx, db_tv_rx, wbxng_base_tx, db_wbxng_rx, db_xcvr2450_tx, db_xcvr2450_rx, wbx_base, db_wbx_lo_tx, and db_wbx_lo_rx.
virtual bool db_base::i_and_q_swapped | ( | ) | [virtual] |
Reimplemented in db_bitshark_rx, db_flexrf_2400_rx, db_flexrf_1200_rx, db_flexrf_1800_rx, db_flexrf_900_rx, db_flexrf_400_rx, db_wbxng_rx, db_xcvr2450_tx, and wbx_base_rx.
virtual bool db_base::is_quadrature | ( | ) | [pure virtual] |
Implemented in db_basic_tx, db_basic_rx, db_bitshark_rx, db_dbs_rx, db_dtt754, db_dtt768, flexrf_base, db_tv_rx, wbxng_base, db_xcvr2450_base, and wbx_base.
double db_base::lo_offset | ( | ) | [inline] |
References d_lo_offset.
std::string db_base::name | ( | ) |
virtual bool db_base::select_rx_antenna | ( | int | which_antenna | ) | [virtual] |
Reimplemented in flexrf_base_rx, wbxng_base_rx, and wbx_base_rx.
virtual bool db_base::select_rx_antenna | ( | const std::string & | which_antenna | ) | [virtual] |
Reimplemented in flexrf_base_rx, wbxng_base_rx, and wbx_base_rx.
bool db_base::set_atr_mask | ( | int | v | ) |
bool db_base::set_atr_rx_delay | ( | int | v | ) |
bool db_base::set_atr_rxval | ( | int | v | ) |
bool db_base::set_atr_tx_delay | ( | int | v | ) |
bool db_base::set_atr_txval | ( | int | v | ) |
Reimplemented in flexrf_base_tx, flexrf_base_rx, wbxng_base_tx, wbxng_base_rx, wbx_base_tx, and wbx_base_rx.
virtual bool db_base::set_bw | ( | float | bw | ) | [virtual] |
Reimplemented in db_bitshark_rx, db_dbs_rx, db_dtt754, and db_dtt768.
Reimplemented in flexrf_base_tx, wbxng_base_tx, and wbx_base_tx.
virtual struct freq_result_t db_base::set_freq | ( | double | target_freq | ) | [read, pure virtual] |
Implemented in db_basic_tx, db_basic_rx, db_bitshark_rx, db_dbs_rx, db_dtt754, db_dtt768, flexrf_base, db_tv_rx, wbxng_base, db_xcvr2450_base, and wbx_base.
virtual bool db_base::set_gain | ( | float | gain | ) | [pure virtual] |
Implemented in db_basic_tx, db_basic_rx, db_bitshark_rx, db_dbs_rx, db_dtt754, db_dtt768, flexrf_base_tx, flexrf_base_rx, db_tv_rx, wbxng_base_tx, wbxng_base_rx, db_xcvr2450_tx, db_xcvr2450_rx, wbx_base, wbx_base_rx, and db_wbx_lo_tx.
bool db_base::set_lo_offset | ( | double | offset | ) |
virtual void db_base::shutdown | ( | ) | [protected, virtual] |
Called to shutdown daughterboard. Called from dtor and usrp_basic dtor.
N.B., any class that overrides shutdown MUST call shutdown in its destructor.
Reimplemented in db_bitshark_rx, db_dbs_rx, flexrf_base_tx, flexrf_base_rx, wbxng_base_tx, wbxng_base_rx, db_xcvr2450_tx, db_xcvr2450_rx, and wbx_base.
std::string db_base::side_and_name | ( | ) |
virtual bool db_base::spectrum_inverted | ( | ) | [virtual] |
usrp_basic* db_base::usrp | ( | ) | [inline, protected] |
Reimplemented in db_wbx_lo_tx, and db_wbx_lo_rx.
References d_raw_usrp.
int db_base::which | ( | ) | [inline] |
References d_which.
friend class usrp_basic [friend] |
bool db_base::d_is_shutdown [protected] |
double db_base::d_lo_offset [protected] |
Reimplemented in wbx_base.
Referenced by lo_offset().
usrp_basic* db_base::d_raw_usrp [protected] |
Referenced by usrp().
int db_base::d_which [protected] |
Referenced by which().
bool(* db_base::init)(struct db_base *) |
delay in clk ticks from when Tx fifo gets data to when T/R switches
delay in clk ticks from when Tx fifo goes empty to when T/R switches
bool(* db_base::set_antenna)(struct db_base *, int ant) |
bool(* db_base::set_freq)(struct db_base *, u2_fxpt_freq_t freq, u2_fxpt_freq_t *dc) |
bool(* db_base::set_gain)(struct db_base *, u2_fxpt_gain_t gain) |
bool(* db_base::set_tx_enable)(struct db_base *, bool on) |