| USRP Hardware Driver and Device Manual Version: 4.10.0.0 UHD and USRP Manual |

Loading...
Searching...
No Matches
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>
10#include <uhd/rfnoc/noc_block_base.hpp>
11
12 namespace uhd { namespace rfnoc {
13
28 class UHD_API switchboard_block_control : public noc_block_base
29{
30 public:
31 RFNOC_DECLARE_BLOCK(switchboard_block_control)
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
uhd::rfnoc::noc_block_base::noc_block_base
noc_block_base(make_args_ptr make_args)
uhd::rfnoc::switchboard_block_control
Definition switchboard_block_control.hpp:29
uhd::rfnoc::switchboard_block_control::REG_BLOCK_SIZE
static const uint32_t REG_BLOCK_SIZE
Definition switchboard_block_control.hpp:34
uhd::rfnoc::switchboard_block_control::REG_DEMUX_SELECT_ADDR
static const uint32_t REG_DEMUX_SELECT_ADDR
Definition switchboard_block_control.hpp:36
uhd::rfnoc::switchboard_block_control::REG_MUX_SELECT_ADDR
static const uint32_t REG_MUX_SELECT_ADDR
Definition switchboard_block_control.hpp:37
uhd::rfnoc::switchboard_block_control::connect
virtual void connect(const size_t input, const size_t output)=0
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
uhd::rfnoc
Definition actions.hpp:25
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