#include <gr_fxpt_nco.h>
Public Member Functions | |
| gr_fxpt_nco () | |
| ~gr_fxpt_nco () | |
| void | set_phase (float angle) |
| void | adjust_phase (float delta_phase) |
| void | set_freq (float angle_rate) |
| void | adjust_freq (float delta_angle_rate) |
| void | step () |
| void | step (int n) |
| float | get_phase () const |
| float | get_freq () const |
| void | sincos (float *sinx, float *cosx) const |
| void | sincos (gr_complex *output, int noutput_items, double ampl=1.0) |
| void | sin (float *output, int noutput_items, double ampl=1.0) |
| void | cos (float *output, int noutput_items, double ampl=1.0) |
| void | sin (short *output, int noutput_items, double ampl=1.0) |
| void | cos (short *output, int noutput_items, double ampl=1.0) |
| void | sin (int *output, int noutput_items, double ampl=1.0) |
| void | cos (int *output, int noutput_items, double ampl=1.0) |
| float | cos () const |
| float | sin () const |
| gr_fxpt_nco::gr_fxpt_nco | ( | ) | [inline] |
| gr_fxpt_nco::~gr_fxpt_nco | ( | ) | [inline] |
| void gr_fxpt_nco::set_phase | ( | float | angle | ) | [inline] |
References gr_fxpt::float_to_fixed().
| void gr_fxpt_nco::adjust_phase | ( | float | delta_phase | ) | [inline] |
References gr_fxpt::float_to_fixed().
| void gr_fxpt_nco::set_freq | ( | float | angle_rate | ) | [inline] |
References gr_fxpt::float_to_fixed().
Referenced by fxpt_sin(), fxpt_sincos(), fxpt_sincos_vec(), gr_sig_source_s::set_frequency(), gr_sig_source_i::set_frequency(), gr_sig_source_f::set_frequency(), gr_sig_source_c::set_frequency(), gr_sig_source_s::set_sampling_freq(), gr_sig_source_i::set_sampling_freq(), gr_sig_source_f::set_sampling_freq(), and gr_sig_source_c::set_sampling_freq().
| void gr_fxpt_nco::adjust_freq | ( | float | delta_angle_rate | ) | [inline] |
References gr_fxpt::float_to_fixed().
| void gr_fxpt_nco::step | ( | ) | [inline] |
Referenced by cos(), fxpt_sin(), fxpt_sincos(), sin(), sincos(), gr_sig_source_s::work(), gr_sig_source_i::work(), gr_sig_source_f::work(), and gr_sig_source_c::work().
| void gr_fxpt_nco::step | ( | int | n | ) | [inline] |
| float gr_fxpt_nco::get_phase | ( | ) | const [inline] |
References gr_fxpt::fixed_to_float().
Referenced by gr_sig_source_s::work(), gr_sig_source_i::work(), gr_sig_source_f::work(), and gr_sig_source_c::work().
| float gr_fxpt_nco::get_freq | ( | ) | const [inline] |
References gr_fxpt::fixed_to_float().
| void gr_fxpt_nco::sincos | ( | float * | sinx, | |
| float * | cosx | |||
| ) | const [inline] |
References gr_fxpt::cos(), and gr_fxpt::sin().
Referenced by fxpt_sincos(), fxpt_sincos_vec(), gr_sig_source_s::work(), gr_sig_source_i::work(), gr_sig_source_f::work(), and gr_sig_source_c::work().
| void gr_fxpt_nco::sincos | ( | gr_complex * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_fxpt::cos(), gr_fxpt::sin(), and step().
| void gr_fxpt_nco::sin | ( | float * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_fxpt::sin(), and step().
Referenced by fxpt_sin(), gr_sig_source_s::work(), gr_sig_source_i::work(), gr_sig_source_f::work(), and gr_sig_source_c::work().
| void gr_fxpt_nco::cos | ( | float * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_fxpt::cos(), and step().
Referenced by gr_sig_source_s::work(), gr_sig_source_i::work(), gr_sig_source_f::work(), and gr_sig_source_c::work().
| void gr_fxpt_nco::sin | ( | short * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_fxpt::sin(), and step().
| void gr_fxpt_nco::cos | ( | short * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_fxpt::cos(), and step().
| void gr_fxpt_nco::sin | ( | int * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_fxpt::sin(), and step().
| void gr_fxpt_nco::cos | ( | int * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_fxpt::cos(), and step().
| float gr_fxpt_nco::cos | ( | ) | const [inline] |
References gr_fxpt::cos().
| float gr_fxpt_nco::sin | ( | ) | const [inline] |
References gr_fxpt::sin().
1.5.5