USRP Hardware Driver and USRP Manual Version: 4.1.0.3
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
30{
31public:
33
34 static const uint32_t REG_BLOCK_SIZE;
35
36 static const uint32_t REG_DELAY_OFFSET;
37 static const uint32_t REG_ALPHA_OFFSET;
38 static const uint32_t REG_BETA_OFFSET;
39
47 virtual void set_alpha(const double alpha, const size_t chan) = 0;
48
56 virtual double get_alpha(const size_t chan) const = 0;
57
65 virtual void set_beta(const double beta, const size_t chan) = 0;
66
74 virtual double get_beta(const size_t chan) const = 0;
75
85 virtual void set_delay(const uint16_t delay, const size_t chan) = 0;
86
95 virtual uint16_t get_delay(const size_t chan) const = 0;
96
105 virtual uint16_t get_max_delay(const size_t chan) const = 0;
106};
107
108}} // namespace uhd::rfnoc
109
Definition: noc_block_base.hpp:42
Definition: vector_iir_block_control.hpp:30
#define UHD_API
Definition: config.h:70
Definition: build_info.hpp:12
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition: noc_block_base.hpp:21