Public Member Functions | |
def | __init__ |
def | __del__ |
def | set_auto_tr |
Enable automatic Transmit/Receive switching (ATR). | |
def | select_rx_antenna |
Specify which antenna port to use for reception. | |
def | set_gain |
Set the gain. | |
Public Attributes | |
spi_enable |
def db_flexrf::flexrf_base_rx::__del__ | ( | self | ) |
Reimplemented from db_flexrf::flexrf_base.
def db_flexrf::flexrf_base_rx::__init__ | ( | self, | ||
usrp, | ||||
which | ||||
) |
usrp,: | instance of usrp.source_c | |
which,: | 0 or 1 corresponding to side RX_A or RX_B respectively. |
Reimplemented from db_flexrf::flexrf_base.
Reimplemented in db_flexrf::db_flexrf_2400_rx, db_flexrf::db_flexrf_1200_rx, db_flexrf::db_flexrf_1800_rx, db_flexrf::db_flexrf_900_rx, db_flexrf::db_flexrf_400_rx, db_flexrf_mimo::db_flexrf_2400_rx_mimo_a, db_flexrf_mimo::db_flexrf_2400_rx_mimo_b, db_flexrf_mimo::db_flexrf_1800_rx_mimo_a, db_flexrf_mimo::db_flexrf_1800_rx_mimo_b, db_flexrf_mimo::db_flexrf_1200_rx_mimo_a, db_flexrf_mimo::db_flexrf_1200_rx_mimo_b, db_flexrf_mimo::db_flexrf_900_rx_mimo_a, db_flexrf_mimo::db_flexrf_900_rx_mimo_b, db_flexrf_mimo::db_flexrf_400_rx_mimo_a, and db_flexrf_mimo::db_flexrf_400_rx_mimo_b.
def db_flexrf::flexrf_base_rx::select_rx_antenna | ( | self, | ||
which_antenna | ||||
) |
Specify which antenna port to use for reception.
which_antenna,: | either 'TX/RX' or 'RX2' |
Reimplemented from db_base::db_base.
def db_flexrf::flexrf_base_rx::set_auto_tr | ( | self, | ||
on | ||||
) |
Enable automatic Transmit/Receive switching (ATR).
Should be overridden in subclasses that care. This will typically set the atr_mask, txval and rxval.
Reimplemented from db_base::db_base.
def db_flexrf::flexrf_base_rx::set_gain | ( | self, | ||
gain | ||||
) |
Set the gain.
gain,: | gain in decibels |
Reimplemented from db_flexrf::flexrf_base.