|
Universal Software Radio Peripheral
|
#include <db_wbxng.h>


Public Member Functions | |
| wbxng_base (usrp_basic_sptr usrp, int which) | |
| ~wbxng_base () | |
| struct freq_result_t | set_freq (double freq) |
| bool | is_quadrature () |
| double | freq_min () |
| double | freq_max () |
Protected Member Functions | |
| void | _write_spi (std::string data) |
| int | _refclk_divisor () |
| bool | _get_locked () |
| bool | _set_pga (float pga_gain) |
Protected Attributes | |
| bool | d_first |
| int | d_spi_format |
| int | d_spi_enable |
| int | d_power_on |
| int | d_PD |
| boost::shared_ptr< adf4350 > | d_common |
| wbxng_base::wbxng_base | ( | usrp_basic_sptr | usrp, |
| int | which | ||
| ) |
| wbxng_base::~wbxng_base | ( | ) |
| bool wbxng_base::_get_locked | ( | void | ) | [protected] |
References db_base::usrp(), usrp_basic::read_io(), db_base::d_which, and PLL_LOCK_DETECT.
| int wbxng_base::_refclk_divisor | ( | ) | [protected, virtual] |
Reimplemented from db_base.
| bool wbxng_base::_set_pga | ( | float | pga_gain | ) | [protected] |
References db_base::d_which, db_base::usrp(), and usrp_basic::set_pga().
Referenced by db_wbxng_tx::set_gain(), and db_wbxng_rx::set_gain().
| void wbxng_base::_write_spi | ( | std::string | data | ) | [protected] |
References db_base::usrp(), usrp_basic::_write_spi(), d_spi_enable, and d_spi_format.
Referenced by db_wbxng_tx::db_wbxng_tx(), and db_wbxng_rx::db_wbxng_rx().
| bool wbxng_base::is_quadrature | ( | ) | [virtual] |
Implements db_base.
| struct freq_result_t wbxng_base::set_freq | ( | double | freq | ) | [read, virtual] |
Implements db_base.
References freq_result_t::ok.
boost::shared_ptr<adf4350> wbxng_base::d_common [protected] |
Referenced by freq_min(), freq_max(), db_wbxng_tx::db_wbxng_tx(), and db_wbxng_rx::db_wbxng_rx().
bool wbxng_base::d_first [protected] |
Referenced by wbxng_base().
int wbxng_base::d_PD [protected] |
int wbxng_base::d_power_on [protected] |
int wbxng_base::d_spi_enable [protected] |
Referenced by _write_spi(), db_wbxng_tx::db_wbxng_tx(), and db_wbxng_rx::db_wbxng_rx().
int wbxng_base::d_spi_format [protected] |
Referenced by wbxng_base(), and _write_spi().
1.7.5