bsync_crcf

Variants: bsync_cccf, bsync_crcf, bsync_rrrf

Binary P/N synchronizer

Public Functions

bsync_crcf bsync_crcf_create(unsigned int _n, float * _v)
bsync_crcf bsync_crcf_create_msequence(unsigned int _g, unsigned int _k)
int bsync_crcf_destroy(bsync_crcf _q)
int bsync_crcf_print(bsync_crcf _q)
int bsync_crcf_correlate(bsync_crcf _q, float complex _x, float complex * _y)

Interfaces

bsync_crcf bsync_crcf_create(unsigned int _n, float * _v)

Create bsync object

  • _n : sequence length
  • _v : correlation sequence, shape: (_n, 1)

bsync_crcf bsync_crcf_create_msequence(unsigned int _g, unsigned int _k)

Create binary synchronizer from m-sequence

  • _g : m-sequence generator polynomial
  • _k : samples/symbol (over-sampling factor)

int bsync_crcf_destroy(bsync_crcf _q)

Destroy binary synchronizer object, freeing all internal memory

  • _q : bsync object

int bsync_crcf_print(bsync_crcf _q)

Print object internals to stdout

  • _q : bsync object

int bsync_crcf_correlate(bsync_crcf _q, float complex _x, float complex * _y)

Correlate input signal against internal sequence

  • _q : bsync object
  • _x : input sample
  • _y : pointer to output sample