Loading...
Searching...
No Matches
moving_average_block_control.hpp
Go to the documentation of this file.
//
// Copyright 2020 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/config.hpp>
#include <uhd/rfnoc/noc_block_base.hpp>
#include <uhd/types/ranges.hpp>
#include <boost/optional.hpp>
namespace uhd { namespace rfnoc {
class UHD_API moving_average_block_control : public noc_block_base
{
public:
RFNOC_DECLARE_BLOCK(moving_average_block_control)
static const uint32_t REG_SUM_LEN_ADDR;
static const uint32_t REG_DIVISOR_ADDR;
virtual void set_sum_len(const uint8_t sum_len) = 0;
virtual uint8_t get_sum_len() const = 0;
virtual void set_divisor(const uint32_t divisor) = 0;
virtual uint32_t get_divisor() const = 0;
};
}} // namespace uhd::rfnoc
uhd::rfnoc::moving_average_block_control
Definition moving_average_block_control.hpp:27
uhd::rfnoc::moving_average_block_control::get_divisor
virtual uint32_t get_divisor() const =0
uhd::rfnoc::moving_average_block_control::get_sum_len
virtual uint8_t get_sum_len() const =0
uhd::rfnoc::moving_average_block_control::set_divisor
virtual void set_divisor(const uint32_t divisor)=0
uhd::rfnoc::moving_average_block_control::REG_DIVISOR_ADDR
static const uint32_t REG_DIVISOR_ADDR
Definition moving_average_block_control.hpp:32
uhd::rfnoc::moving_average_block_control::set_sum_len
virtual void set_sum_len(const uint8_t sum_len)=0
uhd::rfnoc::moving_average_block_control::REG_SUM_LEN_ADDR
static const uint32_t REG_SUM_LEN_ADDR
Definition moving_average_block_control.hpp:31
uhd::rfnoc::noc_block_base::noc_block_base
noc_block_base(make_args_ptr make_args)
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
uhd::rfnoc
Definition actions.hpp:24
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
ranges.hpp