GNU Radio C++ API Reference: descrambler_bb.h Source File

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

Loading...
Searching...
No Matches
descrambler_bb.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2008,2012 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_GR_DESCRAMBLER_BB_H
12#define INCLUDED_GR_DESCRAMBLER_BB_H
13
14#include <gnuradio/digital/api.h>
15#include <gnuradio/sync_block.h>
16
17namespace gr {
18namespace digital {
19
20/*!
21 * \brief Descramber an input stream using an LFSR.
22 * \ingroup coding_blk
23 *
24 * \details
25 * Descramble an input stream using an LFSR. This block works on
26 * the LSB only of the input data stream, i.e., on an "unpacked
27 * binary" stream, and produces the same format on its output.
28 */
29 class DIGITAL_API descrambler_bb : virtual public sync_block
30{
31public:
32 // gr::digital::descrambler_bb::sptr
33 typedef std::shared_ptr<descrambler_bb> sptr;
34
35 /*!
36 * \brief Make a descrambler block.
37 *
38 * \param mask Polynomial mask for LFSR
39 * \param seed Initial shift register contents
40 * \param len Shift register length
41 */
42 static sptr make(uint64_t mask, uint64_t seed, uint8_t len);
43};
44
45} /* namespace digital */
46} /* namespace gr */
47
48#endif /* INCLUDED_GR_DESCRAMBLER_BB_H */
gr::digital::descrambler_bb
Descramber an input stream using an LFSR.
Definition descrambler_bb.h:30
gr::digital::descrambler_bb::sptr
std::shared_ptr< descrambler_bb > sptr
Definition descrambler_bb.h:33
gr::digital::descrambler_bb::make
static sptr make(uint64_t mask, uint64_t seed, uint8_t len)
Make a descrambler block.
gr::sync_block::sync_block
sync_block(void)
Definition sync_block.h:28
api.h
DIGITAL_API
#define DIGITAL_API
Definition gr-digital/include/gnuradio/digital/api.h:18
gr::digital
Definition adaptive_algorithm.h:22
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
sync_block.h