USRP Hardware Driver and USRP Manual: switchboard_block_control.hpp Source File

| USRP Hardware Driver and USRP Manual Version: 4.9.0.makepkg-0-g9ec1f582 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
12namespace uhd { namespace rfnoc {
13
28 class UHD_API switchboard_block_control : public noc_block_base
29{
30public:
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: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