#include <db_wbx.h>


Public Member Functions | |
| wbx_base (usrp_basic_sptr usrp, int which) | |
| ~wbx_base () | |
| struct freq_result_t | set_freq (double freq) |
| float | gain_min () |
| float | gain_max () |
| float | gain_db_per_step () |
| bool | set_gain (float gain) |
| bool | is_quadrature () |
Protected Member Functions | |
| void | shutdown () |
| virtual bool | _lock_detect () |
| bool | _tx_write_oe (int value, int mask) |
| bool | _rx_write_oe (int value, int mask) |
| bool | _tx_write_io (int value, int mask) |
| bool | _rx_write_io (int value, int mask) |
| virtual bool | _rx_read_io () |
| bool | _tx_read_io () |
| bool | _compute_regs (double freq) |
| virtual double | _refclk_freq () |
| int | _refclk_divisor () |
| bool | _set_pga (float pga_gain) |
Protected Attributes | |
| bool | d_first |
| int | d_spi_format |
| int | d_spi_enable |
| double | d_lo_offset |
| wbx_base::wbx_base | ( | usrp_basic_sptr | usrp, | |
| int | which | |||
| ) |
| wbx_base::~wbx_base | ( | ) |
| bool wbx_base::_compute_regs | ( | double | freq | ) | [protected] |
| virtual bool wbx_base::_lock_detect | ( | ) | [protected, virtual] |
Reimplemented in db_wbx_lo_tx, and db_wbx_lo_rx.
| int wbx_base::_refclk_divisor | ( | ) | [protected, virtual] |
Reimplemented from db_base.
| virtual double wbx_base::_refclk_freq | ( | ) | [protected, virtual] |
| virtual bool wbx_base::_rx_read_io | ( | ) | [protected, virtual] |
| bool wbx_base::_rx_write_io | ( | int | value, | |
| int | mask | |||
| ) | [protected] |
Reimplemented in db_wbx_lo_tx, and db_wbx_lo_rx.
| bool wbx_base::_rx_write_oe | ( | int | value, | |
| int | mask | |||
| ) | [protected] |
| bool wbx_base::_set_pga | ( | float | pga_gain | ) | [protected] |
| bool wbx_base::_tx_read_io | ( | ) | [protected] |
| bool wbx_base::_tx_write_io | ( | int | value, | |
| int | mask | |||
| ) | [protected] |
| bool wbx_base::_tx_write_oe | ( | int | value, | |
| int | mask | |||
| ) | [protected] |
| float wbx_base::gain_db_per_step | ( | ) | [virtual] |
| float wbx_base::gain_max | ( | ) | [virtual] |
| float wbx_base::gain_min | ( | ) | [virtual] |
| bool wbx_base::is_quadrature | ( | ) | [virtual] |
Implements db_base.
| struct freq_result_t wbx_base::set_freq | ( | double | freq | ) | [read, virtual] |
Implements db_base.
| bool wbx_base::set_gain | ( | float | gain | ) | [virtual] |
| void wbx_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 from db_base.
bool wbx_base::d_first [protected] |
double wbx_base::d_lo_offset [protected] |
Reimplemented from db_base.
int wbx_base::d_spi_enable [protected] |
int wbx_base::d_spi_format [protected] |
1.5.9