USRP Hardware Driver and USRP Manual Version: 4.7.0.0-0-unknown
UHD and USRP Manual
 
Loading...
Searching...
No Matches
lc_block_control.hpp
Go to the documentation of this file.
1//
2// Copyright 2023 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#include <vector>
12
13namespace uhd { namespace rfnoc {
14
23{
24public:
26
27 // Block registers
28 static const uint32_t REG_COMPAT_NUM;
29 static const uint32_t REG_FEATURE_ID;
30 static const uint32_t REG_USER_KEY;
31 static const uint32_t REG_FEATURE_ENABLE_RB;
32 static const uint32_t REG_FEATURE_LIST_RB;
33
34 static const uint16_t MAJOR_COMPAT;
35 static const uint16_t MINOR_COMPAT;
36
46 virtual bool load_key(const std::string& key) = 0;
47
50 virtual std::vector<uint32_t> get_feature_ids() = 0;
51};
52
53}} // namespace uhd::rfnoc
Definition lc_block_control.hpp:23
static const uint32_t REG_FEATURE_ID
Definition lc_block_control.hpp:29
static const uint32_t REG_COMPAT_NUM
Definition lc_block_control.hpp:28
static const uint32_t REG_FEATURE_ENABLE_RB
Definition lc_block_control.hpp:31
virtual bool load_key(const std::string &key)=0
static const uint16_t MINOR_COMPAT
Definition lc_block_control.hpp:35
virtual std::vector< uint32_t > get_feature_ids()=0
static const uint32_t REG_USER_KEY
Definition lc_block_control.hpp:30
static const uint16_t MAJOR_COMPAT
Definition lc_block_control.hpp:34
static const uint32_t REG_FEATURE_LIST_RB
Definition lc_block_control.hpp:32
noc_block_base(make_args_ptr make_args)
#define UHD_API
Definition config.h:87
STL namespace.
Definition actions.hpp:18
Definition build_info.hpp:12
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition noc_block_base.hpp:22