Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

microtune_4937 Class Reference

abstract class for controlling microtune 4937 tuner module More...

#include <microtune_4937.h>

Inheritance diagram for microtune_4937:

microtune_eval_board List of all members.

Public Member Functions

 microtune_4937 ()
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.
double set_RF_freq (double freq)
bool pll_locked_p ()
double get_output_freq ()

Private Member Functions

virtual bool i2c_write (int addr, const unsigned char *buf, int nbytes)=0
 true iff successful
virtual int i2c_read (int addr, unsigned char *buf, int max_bytes)=0
 number of bytes read or -1 if error

Private Attributes

int d_reference_divider
bool d_fast_tuning_p

Detailed Description

abstract class for controlling microtune 4937 tuner module


Constructor & Destructor Documentation

microtune_4937::microtune_4937  ) 
 

microtune_4937::~microtune_4937  )  [virtual]
 


Member Function Documentation

double microtune_4937::get_output_freq  ) 
 

Returns:
the output frequency (IF center freq) of the tuner in Hz.

virtual int microtune_4937::i2c_read int  addr,
unsigned char *  buf,
int  max_bytes
[private, pure virtual]
 

number of bytes read or -1 if error

Implemented in microtune_eval_board.

virtual bool microtune_4937::i2c_write int  addr,
const unsigned char *  buf,
int  nbytes
[private, pure virtual]
 

true iff successful

Implemented in microtune_eval_board.

bool microtune_4937::pll_locked_p  ) 
 

Returns:
true iff PLL is locked

double microtune_4937::set_RF_freq double  freq  ) 
 

bool microtune_4937::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.

Returns:
true iff sucessful.


Member Data Documentation

bool microtune_4937::d_fast_tuning_p [private]
 

int microtune_4937::d_reference_divider [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Mar 15 23:55:37 2005 for GNU Radio by  doxygen 1.4.0