bsync_cccf

Variants: bsync_cccf, bsync_crcf, bsync_rrrf

Binary P/N synchronizer

Public Functions

bsync_cccf bsync_cccf_create(unsigned int _n, float complex * _v)
bsync_cccf bsync_cccf_create_msequence(unsigned int _g, unsigned int _k)
int bsync_cccf_destroy(bsync_cccf _q)
int bsync_cccf_print(bsync_cccf _q)
int bsync_cccf_correlate(bsync_cccf _q, float complex _x, float complex * _y)

Interfaces

bsync_cccf bsync_cccf_create(unsigned int _n, float complex * _v)

Create bsync object

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

bsync_cccf bsync_cccf_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_cccf_destroy(bsync_cccf _q)

Destroy binary synchronizer object, freeing all internal memory

  • _q : bsync object

int bsync_cccf_print(bsync_cccf _q)

Print object internals to stdout

  • _q : bsync object

int bsync_cccf_correlate(bsync_cccf _q, float complex _x, float complex * _y)

Correlate input signal against internal sequence

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