clock_rec_new

Creation of a clock recovery object.

Namespace: dsp::telecom

Prototype

sptr<FilterGen<cfloat>> clock_rec_new(const ClockRecConfig &config)

Description

This function will create a clock recovery object, that can be used afterwards to resynchronize and resample an incoming data stream with implicit clock.

Optionnaly, the user can choose a specific Timing Error Detector (default is Gardner), and a specific interpolator (default is cardinal cubic spline).

Example

// Create a clock recovery object for an oversampling ratio of 8
cr = clock_rec_init(8);

See also

ted_init, itrp_sinc, itrp_cspline, itrp_lineaire