#include <vco.h>
| 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 | 
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).
 
| 
 | 
| 
 | 
| 
 | 
| return output only 
 | 
| 
 | 
| return output with updated input 
 | 
| 
 | 
| return phase 
 | 
| 
 | 
| Update fcw. 
 | 
| 
 | 
| Set new frequency. 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
 1.4.4
 1.4.4