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
Definition noc_block_base.hpp:43
#define UHD_API
Definition config.h:87
STL namespace.
Definition build_info.hpp:12
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition noc_block_base.hpp:22