Loading...
Searching...
No Matches
lc_block_control.hpp
Go to the documentation of this file.
//
// Copyright 2023 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 <vector>
namespace uhd { namespace rfnoc {
class UHD_API lc_block_control : public noc_block_base
{
public:
RFNOC_DECLARE_BLOCK(lc_block_control)
// Block registers
static const uint32_t REG_COMPAT_NUM;
static const uint32_t REG_FEATURE_ID;
static const uint32_t REG_USER_KEY;
static const uint32_t REG_FEATURE_ENABLE_RB;
static const uint32_t REG_FEATURE_LIST_RB;
static const uint16_t MAJOR_COMPAT;
static const uint16_t MINOR_COMPAT;
virtual bool load_key(const std::string& key) = 0;
virtual std::vector<uint32_t> get_feature_ids() = 0;
};
}} // namespace uhd::rfnoc
uhd::rfnoc::lc_block_control
Definition lc_block_control.hpp:23
uhd::rfnoc::lc_block_control::REG_FEATURE_ID
static const uint32_t REG_FEATURE_ID
Definition lc_block_control.hpp:29
uhd::rfnoc::lc_block_control::REG_COMPAT_NUM
static const uint32_t REG_COMPAT_NUM
Definition lc_block_control.hpp:28
uhd::rfnoc::lc_block_control::REG_FEATURE_ENABLE_RB
static const uint32_t REG_FEATURE_ENABLE_RB
Definition lc_block_control.hpp:31
uhd::rfnoc::lc_block_control::load_key
virtual bool load_key(const std::string &key)=0
uhd::rfnoc::lc_block_control::MINOR_COMPAT
static const uint16_t MINOR_COMPAT
Definition lc_block_control.hpp:35
uhd::rfnoc::lc_block_control::get_feature_ids
virtual std::vector< uint32_t > get_feature_ids()=0
uhd::rfnoc::lc_block_control::REG_USER_KEY
static const uint32_t REG_USER_KEY
Definition lc_block_control.hpp:30
uhd::rfnoc::lc_block_control::MAJOR_COMPAT
static const uint16_t MAJOR_COMPAT
Definition lc_block_control.hpp:34
uhd::rfnoc::lc_block_control::REG_FEATURE_LIST_RB
static const uint32_t REG_FEATURE_LIST_RB
Definition lc_block_control.hpp:32
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
std
STL namespace.
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