GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
msk_timing_recovery_cc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2014 Free Software Foundation, Inc.
4 *
5 * This file is part of GNU Radio
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_DIGITAL_MSK_TIMING_RECOVERY_CC_H
12#define INCLUDED_DIGITAL_MSK_TIMING_RECOVERY_CC_H
13
14#include <gnuradio/block.h>
16
17namespace gr {
18namespace digital {
19
20/*!
21 * \brief MSK/GMSK timing recovery
22 * \ingroup synchronizers_blk
23 * \ingroup deprecated_blk
24 *
25 * This block performs timing synchronization on CPM modulations using a
26 * fourth-order nonlinearity feedback method which is non-data-aided. The
27 * block does not require prior phase synchronization but is relatively
28 * sensitive to frequency offset (keep offset to 0.1x symbol rate).
29 *
30 * For details on the algorithm, see:
31 * A.N. D'Andrea, U. Mengali, R. Reggiannini: A digital approach to clock
32 * recovery in generalized minimum shift keying. IEEE Transactions on
33 * Vehicular Technology, Vol. 39, Issue 3.
34 */
36{
37public:
38 typedef std::shared_ptr<msk_timing_recovery_cc> sptr;
39
40 /*!
41 * \brief Make an MSK timing recovery block.
42 *
43 * \param sps: Samples per symbol
44 * \param gain: Loop gain of timing error filter (try 0.05)
45 * \param limit: Relative limit of timing error (try 0.1 for 10% error max)
46 * \param osps: Output samples per symbol
47 *
48 */
49 static sptr make(float sps, float gain, float limit, int osps);
50
51 virtual void set_gain(float gain) = 0;
52 virtual float get_gain(void) = 0;
53
54 virtual void set_limit(float limit) = 0;
55 virtual float get_limit(void) = 0;
56
57 virtual void set_sps(float sps) = 0;
58 virtual float get_sps(void) = 0;
59};
60
61} // namespace digital
62} // namespace gr
63
64#endif /* INCLUDED_DIGITAL_MSK_TIMING_RECOVERY_CC_H */
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
MSK/GMSK timing recovery.
Definition: msk_timing_recovery_cc.h:36
virtual float get_limit(void)=0
virtual void set_limit(float limit)=0
virtual float get_gain(void)=0
virtual void set_gain(float gain)=0
static sptr make(float sps, float gain, float limit, int osps)
Make an MSK timing recovery block.
virtual void set_sps(float sps)=0
std::shared_ptr< msk_timing_recovery_cc > sptr
Definition: msk_timing_recovery_cc.h:38
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29