USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
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
>
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
config.hpp
uhd::rfnoc::noc_block_base
Definition:
noc_block_base.hpp:42
UHD_API
#define UHD_API
Definition:
config.h:87
uhd
Definition:
build_info.hpp:12
uhd::rfnoc::switchboard_block_control
Definition:
switchboard_block_control.hpp:28
noc_block_base.hpp
RFNOC_DECLARE_BLOCK
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition:
noc_block_base.hpp:22
include
uhd
rfnoc
switchboard_block_control.hpp
Generated by
1.8.17