GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
lfsr_32k_source_s.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2004,2013 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_LFSR_32K_SOURCE_S_H
12 #define INCLUDED_GR_LFSR_32K_SOURCE_S_H
13 
14 #include <gnuradio/blocks/api.h>
16 #include <gnuradio/sync_block.h>
17 
18 namespace gr {
19 namespace blocks {
20 
21 /*!
22  * \brief LFSR pseudo-random source with period of 2^15 bits (2^11 shorts)
23  * \ingroup misc_blk
24  *
25  * \details
26  * This source is typically used along with gr::blocks::check_lfsr_32k_s to
27  * test the USRP using its digital loopback mode.
28  */
29 class BLOCKS_API lfsr_32k_source_s : virtual public sync_block
30 {
31 public:
32  // gr::blocks::lfsr_32k_source_s::sptr
33  typedef std::shared_ptr<lfsr_32k_source_s> sptr;
34 
35  /*!
36  * \brief Make a LFSR 32k source block.
37  */
38  static sptr make();
39 };
40 
41 } /* namespace blocks */
42 } /* namespace gr */
43 
44 #endif /* INCLUDED_GR_LFSR_32K_SOURCE_S_H */
LFSR pseudo-random source with period of 2^15 bits (2^11 shorts)
Definition: lfsr_32k_source_s.h:30
std::shared_ptr< lfsr_32k_source_s > sptr
Definition: lfsr_32k_source_s.h:33
static sptr make()
Make a LFSR 32k source block.
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29