GNU Radio 3.6.5 C++ API

microtune_4937 Class Reference

class for controlling microtune 4937 tuner module More...

#include <microtune_4937.h>

Inheritance diagram for microtune_4937:
microtune_xxxx

List of all members.

Public Member Functions

 microtune_4937 (i2c_sptr i2c, int i2c_addr=0x61)
virtual ~microtune_4937 ()
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.
bool pll_locked_p ()
double get_output_freq ()

Detailed Description

class for controlling microtune 4937 tuner module


Constructor & Destructor Documentation

microtune_4937::microtune_4937 ( i2c_sptr  i2c,
int  i2c_addr = 0x61 
)
virtual microtune_4937::~microtune_4937 ( ) [virtual]

Member Function Documentation

double microtune_4937::get_output_freq ( ) [virtual]
Returns:
the output frequency (IF center freq) of the tuner in Hz.

Implements microtune_xxxx.

bool microtune_4937::pll_locked_p ( ) [virtual]
Returns:
true iff PLL is locked

Implements microtune_xxxx.

bool microtune_4937::set_RF_freq ( double  freq,
double *  actual_freq 
) [virtual]

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.

Returns:
true iff sucessful.

Implements microtune_xxxx.


The documentation for this class was generated from the following file: