Universal Software Radio Peripheral
|
#include <db_wbx.h>
Public Member Functions | |
_ADF410X_common () | |
virtual | ~_ADF410X_common () |
bool | _compute_regs (double freq, int &retR, int &retcontrol, int &retN, double &retfreq) |
void | _write_all (int R, int N, int control) |
void | _write_R (int R) |
void | _write_N (int N) |
void | _write_func (int func) |
void | _write_init (int init) |
int | _prescaler () |
virtual void | _write_it (int v) |
virtual double | _refclk_freq () |
virtual bool | _rx_write_io (int value, int mask) |
virtual bool | _lock_detect () |
Protected Member Functions | |
virtual usrp_basic * | usrp () |
Protected Attributes | |
int | d_R_RSV |
int | d_LDP |
int | d_TEST |
int | d_ABP |
int | d_N_RSV |
int | d_CP_GAIN |
int | d_P |
int | d_PD2 |
int | d_CP2 |
int | d_CP1 |
int | d_TC |
int | d_FL |
int | d_CP3S |
int | d_PDP |
int | d_MUXOUT |
int | d_PD1 |
int | d_CR |
int | d_R_DIV |
int | d_A_DIV |
int | d_B_DIV |
int | d_freq_mult |
int | d_spi_format |
int | d_spi_enable |
_ADF410X_common::_ADF410X_common | ( | ) |
_ADF410X_common::~_ADF410X_common | ( | ) | [virtual] |
bool _ADF410X_common::_compute_regs | ( | double | freq, |
int & | retR, | ||
int & | retcontrol, | ||
int & | retN, | ||
double & | retfreq | ||
) |
bool _ADF410X_common::_lock_detect | ( | ) | [virtual] |
Reimplemented in db_wbx_lo_rx, and db_wbx_lo_tx.
int _ADF410X_common::_prescaler | ( | ) |
References d_P.
Referenced by _compute_regs().
double _ADF410X_common::_refclk_freq | ( | ) | [virtual] |
Reimplemented in db_wbx_lo_rx, and db_wbx_lo_tx.
Referenced by _compute_regs().
bool _ADF410X_common::_rx_write_io | ( | int | value, |
int | mask | ||
) | [virtual] |
Reimplemented in db_wbx_lo_rx, and db_wbx_lo_tx.
Referenced by _lo_common::set_divider().
void _ADF410X_common::_write_all | ( | int | R, |
int | N, | ||
int | control | ||
) |
References _write_R(), _write_func(), _write_init(), and _write_N().
void _ADF410X_common::_write_func | ( | int | func | ) |
References _write_it().
Referenced by _write_all().
void _ADF410X_common::_write_init | ( | int | init | ) |
References _write_it().
Referenced by _write_all().
void _ADF410X_common::_write_it | ( | int | v | ) | [virtual] |
References usrp(), usrp_basic::_write_spi(), d_spi_enable, and d_spi_format.
Referenced by _write_R(), _write_N(), _write_func(), and _write_init().
void _ADF410X_common::_write_N | ( | int | N | ) |
References _write_it().
Referenced by _write_all().
void _ADF410X_common::_write_R | ( | int | R | ) |
References _write_it().
Referenced by _write_all().
usrp_basic * _ADF410X_common::usrp | ( | ) | [protected, virtual] |
Reimplemented in db_wbx_lo_rx, and db_wbx_lo_tx.
Referenced by _write_it().
int _ADF410X_common::d_A_DIV [protected] |
Referenced by _compute_regs().
int _ADF410X_common::d_ABP [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_B_DIV [protected] |
Referenced by _compute_regs().
int _ADF410X_common::d_CP1 [protected] |
Reimplemented in _lo_common.
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_CP2 [protected] |
Reimplemented in _lo_common.
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_CP3S [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_CP_GAIN [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_CR [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_FL [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_freq_mult [protected] |
Referenced by _compute_regs(), and _lo_common::_lo_common().
int _ADF410X_common::d_LDP [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_MUXOUT [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_N_RSV [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_P [protected] |
Reimplemented in _lo_common.
Referenced by _ADF410X_common(), _compute_regs(), and _prescaler().
int _ADF410X_common::d_PD1 [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_PD2 [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_PDP [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_R_DIV [protected] |
Reimplemented in _lo_common.
Referenced by _compute_regs().
int _ADF410X_common::d_R_RSV [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_spi_enable [protected] |
Referenced by _write_it().
int _ADF410X_common::d_spi_format [protected] |
Referenced by _write_it().
int _ADF410X_common::d_TC [protected] |
Referenced by _ADF410X_common(), and _compute_regs().
int _ADF410X_common::d_TEST [protected] |
Referenced by _ADF410X_common(), and _compute_regs().