GNU Radio Manual and C++ API Reference
3.9.1.0
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
>
15
#include <
gnuradio/digital/api.h
>
16
17
namespace
gr
{
18
namespace
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
*/
35
class
DIGITAL_API
msk_timing_recovery_cc
:
virtual
public
gr::block
36
{
37
public
:
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 */
block.h
gr::digital::msk_timing_recovery_cc::sptr
std::shared_ptr< msk_timing_recovery_cc > sptr
Definition:
msk_timing_recovery_cc.h:38
DIGITAL_API
#define DIGITAL_API
Definition:
gr-digital/include/gnuradio/digital/api.h:18
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition:
block.h:59
api.h
gr::digital::msk_timing_recovery_cc
MSK/GMSK timing recovery.
Definition:
msk_timing_recovery_cc.h:35
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr-digital
include
gnuradio
digital
msk_timing_recovery_cc.h
Generated by
1.8.17