USRP Hardware Driver and USRP Manual Version: 4.2.0.0
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
12namespace uhd { namespace rfnoc {
13
32{
33public:
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
Definition: noc_block_base.hpp:43
Definition: vector_iir_block_control.hpp:32
#define UHD_API
Definition: config.h:87
Definition: build_info.hpp:12
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition: noc_block_base.hpp:22