USRP Hardware Driver and USRP Manual  Version: 4.6.0.0
UHD and USRP Manual
switchboard_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 
12 namespace uhd { namespace rfnoc {
13 
29 {
30 public:
32 
33  // Block registers
34  static const uint32_t REG_BLOCK_SIZE;
35 
36  static const uint32_t REG_DEMUX_SELECT_ADDR;
37  static const uint32_t REG_MUX_SELECT_ADDR;
38 
47  virtual void connect(const size_t input, const size_t output) = 0;
48 };
49 
50 }} // namespace uhd::rfnoc
Definition: switchboard_block_control.hpp:28
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition: noc_block_base.hpp:22
Definition: build_info.hpp:12
Definition: noc_block_base.hpp:42
#define UHD_API
Definition: config.h:87