presync_cccf

Variants: bpresync_cccf, presync_cccf

Pre-demodulation signal synchronizer

Public Functions

presync_cccf presync_cccf_create(float complex * _v, unsigned int _n, float _dphi_max, unsigned int _m)
int presync_cccf_destroy(presync_cccf _q)
int presync_cccf_print(presync_cccf _q)
int presync_cccf_reset(presync_cccf _q)
int presync_cccf_push(presync_cccf _q, float complex _x)
int presync_cccf_execute(presync_cccf _q, float complex * _rxy, float * _dphi_hat)

Interfaces

presync_cccf presync_cccf_create(float complex * _v, unsigned int _n, float _dphi_max, unsigned int _m)

Create pre-demod synchronizer from external sequence

  • _v : baseband sequence, shape: (_n, 1)
  • _n : baseband sequence length, 0 < _n
  • _dphi_max : maximum absolute frequency deviation for detection
  • _m : number of correlators, 0 < _m

int presync_cccf_destroy(presync_cccf _q)

Destroy pre-demod synchronizer, freeing all internal memory

int presync_cccf_print(presync_cccf _q)

Print pre-demod synchronizer internal state

int presync_cccf_reset(presync_cccf _q)

Reset pre-demod synchronizer internal state

int presync_cccf_push(presync_cccf _q, float complex _x)

Push input sample into pre-demod synchronizer

  • _q : pre-demod synchronizer object
  • _x : input sample

int presync_cccf_execute(presync_cccf _q, float complex * _rxy, float * _dphi_hat)

Correlate original sequence with internal input buffer

  • _q : pre-demod synchronizer object
  • _rxy : output cross correlation
  • _dphi_hat : output frequency offset estimate