|
GNU Radio 3.6.5 C++ API
|
PN code sequential search correlatorReceives complex baseband signal, outputs complex correlation against reference PN code, one sample per PN code period. The PN sequence is generated using a GLFSR. More...
#include <digital_pn_correlator_cc.h>
Public Member Functions | |
| virtual int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| just like gr_block::general_work, only this arranges to call consume_each for you | |
| ~digital_pn_correlator_cc () | |
Protected Member Functions | |
| digital_pn_correlator_cc (int degree, int mask, int seed) | |
Friends | |
| DIGITAL_API digital_pn_correlator_cc_sptr | digital_make_pn_correlator_cc (int degree, int mask, int seed) |
PN code sequential search correlator
Receives complex baseband signal, outputs complex correlation against reference PN code, one sample per PN code period. The PN sequence is generated using a GLFSR.
| degree | Degree of shift register must be in [1, 32]. If mask is 0, the degree determines a default mask (see digital_impl_glfsr.cc for the mapping). |
| repeat | Set to repeat sequence. |
| mask | Allows a user-defined bit mask for indexes of the shift register to feed back. |
| seed | Initial setting for values in shift register. |
| digital_pn_correlator_cc::digital_pn_correlator_cc | ( | int | degree, |
| int | mask, | ||
| int | seed | ||
| ) | [protected] |
| digital_pn_correlator_cc::~digital_pn_correlator_cc | ( | ) |
| virtual int digital_pn_correlator_cc::work | ( | int | noutput_items, |
| gr_vector_const_void_star & | input_items, | ||
| gr_vector_void_star & | output_items | ||
| ) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.
| DIGITAL_API digital_pn_correlator_cc_sptr digital_make_pn_correlator_cc | ( | int | degree, |
| int | mask, | ||
| int | seed | ||
| ) | [friend] |