USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
vector_iir_block_control.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2020 Ettus Research, a National Instruments Brand
3 //
4 // SPDX-License-Identifier: GPL-3.0-or-later
5 //
6 
7 #pragma once
8 
9 #include <uhd/config.hpp>
11 
12 namespace uhd { namespace rfnoc {
13 
32 {
33 public:
35 
36  static const uint32_t REG_BLOCK_SIZE;
37 
38  static const uint32_t REG_DELAY_OFFSET;
39  static const uint32_t REG_ALPHA_OFFSET;
40  static const uint32_t REG_BETA_OFFSET;
41 
49  virtual void set_alpha(const double alpha, const size_t chan) = 0;
50 
58  virtual double get_alpha(const size_t chan) const = 0;
59 
67  virtual void set_beta(const double beta, const size_t chan) = 0;
68 
76  virtual double get_beta(const size_t chan) const = 0;
77 
87  virtual void set_delay(const uint16_t delay, const size_t chan) = 0;
88 
97  virtual uint16_t get_delay(const size_t chan) const = 0;
98 
107  virtual uint16_t get_max_delay(const size_t chan) const = 0;
108 };
109 
110 }} // namespace uhd::rfnoc
config.hpp
uhd::rfnoc::noc_block_base
Definition: noc_block_base.hpp:42
uhd::rfnoc::vector_iir_block_control
Definition: vector_iir_block_control.hpp:31
UHD_API
#define UHD_API
Definition: config.h:87
uhd
Definition: build_info.hpp:12
noc_block_base.hpp
RFNOC_DECLARE_BLOCK
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition: noc_block_base.hpp:22