#include <bool_nco.h>
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 |
NCO that returns a single bit indicating whether the internal accumulator has overflowed. Internal accumulator is 31 bits.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4