GNU Radio 3.7.1 C++ API
|
Numerically Controlled Oscillator (NCO) More...
#include <fxpt_nco.h>
Public Member Functions | |
fxpt_nco () | |
~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 |
Numerically Controlled Oscillator (NCO)
gr::fxpt_nco::fxpt_nco | ( | ) | [inline] |
gr::fxpt_nco::~fxpt_nco | ( | ) | [inline] |
void gr::fxpt_nco::adjust_freq | ( | float | delta_angle_rate | ) | [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::cos | ( | float * | output, |
int | noutput_items, | ||
double | ampl = 1.0 |
||
) | [inline] |
References gr::fxpt::cos(), 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::cos | ( | int * | output, |
int | noutput_items, | ||
double | ampl = 1.0 |
||
) | [inline] |
References gr::fxpt::cos(), and step().
float gr::fxpt_nco::cos | ( | ) | const [inline] |
Referenced by sincos().
float gr::fxpt_nco::get_freq | ( | ) | const [inline] |
References gr::fxpt::fixed_to_float().
float gr::fxpt_nco::get_phase | ( | ) | const [inline] |
References gr::fxpt::fixed_to_float().
void gr::fxpt_nco::set_freq | ( | float | angle_rate | ) | [inline] |
References gr::fxpt::float_to_fixed().
void gr::fxpt_nco::set_phase | ( | float | angle | ) | [inline] |
References gr::fxpt::float_to_fixed().
void gr::fxpt_nco::sin | ( | float * | output, |
int | noutput_items, | ||
double | ampl = 1.0 |
||
) | [inline] |
References gr::fxpt::sin(), and step().
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::sin | ( | int * | output, |
int | noutput_items, | ||
double | ampl = 1.0 |
||
) | [inline] |
References gr::fxpt::sin(), and step().
float gr::fxpt_nco::sin | ( | ) | const [inline] |
Referenced by sincos().
void gr::fxpt_nco::sincos | ( | float * | sinx, |
float * | cosx | ||
) | const [inline] |
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::step | ( | ) | [inline] |
void gr::fxpt_nco::step | ( | int | n | ) | [inline] |