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

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

NCO with single bit output. More...

#include <bool_nco.h>

List of all members.

Public Member Functions

 bool_nco ()
void reset ()
void set_frequency (unsigned long freq)
void reset_frequency (unsigned long freq)
bool get_phase (void)
void load (long loop_filter_out)
bool clock (long loop_filter_out)
bool clock ()

Public Attributes

bool phase

Protected Attributes

unsigned long acc
unsigned long fcw
unsigned long new_fcw

Detailed Description

NCO with single bit output.

NCO that returns a single bit indicating whether the internal accumulator has overflowed. Internal accumulator is 31 bits.

Constructor & Destructor Documentation

SPUC::bool_nco::bool_nco  )  [inline]

Member Function Documentation

bool SPUC::bool_nco::clock  ) 

bool SPUC::bool_nco::clock long  loop_filter_out  ) 

bool SPUC::bool_nco::get_phase void   )  [inline]

void SPUC::bool_nco::load long  loop_filter_out  )  [inline]

void SPUC::bool_nco::reset void   )  [inline]

void SPUC::bool_nco::reset_frequency unsigned long  freq  )  [inline]

void SPUC::bool_nco::set_frequency unsigned long  freq  )  [inline]

Member Data Documentation

unsigned long SPUC::bool_nco::acc [protected]

unsigned long SPUC::bool_nco::fcw [protected]

unsigned long SPUC::bool_nco::new_fcw [protected]

bool SPUC::bool_nco::phase

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