Public Member Functions | |
def | __init__ |
def | __del__ |
def | set_freq |
def | gain_range |
Return range of gain that can be set by this d'board. | |
def | set_gain |
Set the gain. | |
def | is_quadrature |
Return True if this board requires both I & Q analog channels. | |
Public Attributes | |
first | |
spi_format | |
spi_enable |
Derive board specific subclasses from db_wbx_base_{tx,rx}
def db_wbx::wbx_base::__del__ | ( | self | ) |
Reimplemented in db_wbx::wbx_base_tx, and db_wbx::wbx_base_rx.
def db_wbx::wbx_base::__init__ | ( | self, | ||
usrp, | ||||
which | ||||
) |
usrp,: | instance of usrp.source_c | |
which,: | which side: 0 or 1 corresponding to side A or B respectively which: int |
Reimplemented from db_base::db_base.
Reimplemented in db_wbx::wbx_base_tx, db_wbx::wbx_base_rx, db_wbx::db_wbx_lo_tx, and db_wbx::db_wbx_lo_rx.
def db_wbx::wbx_base::gain_range | ( | self | ) |
Return range of gain that can be set by this d'board.
Reimplemented from db_base::db_base.
Reimplemented in db_wbx::db_wbx_lo_tx, and db_wbx::db_wbx_lo_rx.
def db_wbx::wbx_base::is_quadrature | ( | self | ) |
Return True if this board requires both I & Q analog channels.
This bit of info is useful when setting up the USRP Rx mux register.
Reimplemented from db_base::db_base.
def db_wbx::wbx_base::set_freq | ( | self, | ||
freq | ||||
) |
Reimplemented from db_base::db_base.
def db_wbx::wbx_base::set_gain | ( | self, | ||
gain | ||||
) |
Set the gain.
gain,: | gain in decibels |
Reimplemented from db_base::db_base.
Reimplemented in db_wbx::wbx_base_rx, and db_wbx::db_wbx_lo_tx.