GNU Radio 3.6.5 C++ API
|
abstract class for controlling microtune xxxx eval board More...
#include <microtune_xxxx_eval_board.h>
Public Member Functions | |
microtune_xxxx_eval_board (int which_pp=0) | |
virtual | ~microtune_xxxx_eval_board () |
bool | board_present_p () |
is the eval board present? | |
void | set_RF_AGC_voltage (float volts) |
set RF and IF AGC control voltages ([0, 5] volts) | |
void | set_IF_AGC_voltage (float volts) |
virtual void | set_AGC (float value_0_1000)=0 |
set RF and IF AGC levels together (scale [0, 1000]) | |
bool | set_RF_freq (double freq, double *actual_freq) |
select RF frequency to be tuned to output frequency. freq is the requested frequency in Hz, actual_freq is set to the actual frequency tuned. It takes about 100 ms for the PLL to settle. | |
double | set_RF_freq (double freq) |
bool | pll_locked_p () |
double | get_output_freq () |
Protected Attributes | |
ppio_sptr | d_ppio |
i2c_sptr | d_i2c |
microtune_xxxx * | d_tuner |
abstract class for controlling microtune xxxx eval board
microtune_xxxx_eval_board::microtune_xxxx_eval_board | ( | int | which_pp = 0 | ) |
virtual microtune_xxxx_eval_board::~microtune_xxxx_eval_board | ( | ) | [virtual] |
bool microtune_xxxx_eval_board::board_present_p | ( | ) |
is the eval board present?
double microtune_xxxx_eval_board::get_output_freq | ( | ) |
bool microtune_xxxx_eval_board::pll_locked_p | ( | ) |
virtual void microtune_xxxx_eval_board::set_AGC | ( | float | value_0_1000 | ) | [pure virtual] |
set RF and IF AGC levels together (scale [0, 1000])
This provides a simple linear interface for adjusting both the RF and IF gain in consort. This is the easy to use interface. 0 corresponds to minimum gain. 1000 corresponds to maximum gain.
Implemented in microtune_4702_eval_board, and microtune_4937_eval_board.
void microtune_xxxx_eval_board::set_IF_AGC_voltage | ( | float | volts | ) |
void microtune_xxxx_eval_board::set_RF_AGC_voltage | ( | float | volts | ) |
set RF and IF AGC control voltages ([0, 5] volts)
bool microtune_xxxx_eval_board::set_RF_freq | ( | double | freq, |
double * | actual_freq | ||
) |
select RF frequency to be tuned to output frequency. freq
is the requested frequency in Hz, actual_freq
is set to the actual frequency tuned. It takes about 100 ms for the PLL to settle.
double microtune_xxxx_eval_board::set_RF_freq | ( | double | freq | ) |
i2c_sptr microtune_xxxx_eval_board::d_i2c [protected] |
ppio_sptr microtune_xxxx_eval_board::d_ppio [protected] |
microtune_xxxx* microtune_xxxx_eval_board::d_tuner [protected] |