Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SPUC::vco Class Reference
[Phase lock loop functions]

VCO similar to NCO but uses floating point. More...

#include <vco.h>

List of all members.

Public Member Functions

 vco (void)
void reset_frequency (double freq)
 Set new frequency.
double get_phase (void)
 return phase
void load (double loop_filter_out)
 Update fcw.
complex< double > clock (double loop_filter_out)
 return output with updated input
complex< double > clock ()
 return output only

Protected Attributes

double acc
double fcw
double new_fcw

Detailed Description

VCO similar to NCO but uses floating point.

Voltage controlled oscillator (based on NCO with floating point elements) and complex output. FCW : frequency control word ACC : accumulator Frequency must be set through interface routines set_frequency or reset_frequency. Load routine is to allow frequency to be updated (typically with a loop filter).


Constructor & Destructor Documentation

SPUC::vco::vco void   )  [inline]

Member Function Documentation

complex< double > SPUC::vco::clock  ) 

return output only

complex< double > SPUC::vco::clock double  loop_filter_out  ) 

return output with updated input

double SPUC::vco::get_phase void   )  [inline]

return phase

void SPUC::vco::load double  loop_filter_out  )  [inline]

Update fcw.

void SPUC::vco::reset_frequency double  freq  )  [inline]

Set new frequency.

Member Data Documentation

double SPUC::vco::acc [protected]

double SPUC::vco::fcw [protected]

double SPUC::vco::new_fcw [protected]

The documentation for this class was generated from the following files:
Generated on Fri Sep 16 11:09:11 2005 for spuc by  doxygen 1.4.4