USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
UHD and USRP Manual
dma_fifo_block_ctrl.hpp
Go to the documentation of this file.
1
//
2
// Copyright 2016 Ettus Research LLC
3
// Copyright 2018 Ettus Research, a National Instruments Company
4
//
5
// SPDX-License-Identifier: GPL-3.0-or-later
6
//
7
8
#ifndef INCLUDED_LIBUHD_RFNOC_DMA_FIFO_BLOCK_HPP
9
#define INCLUDED_LIBUHD_RFNOC_DMA_FIFO_BLOCK_HPP
10
11
#include <
uhd/rfnoc/sink_block_ctrl_base.hpp
>
12
#include <
uhd/rfnoc/source_block_ctrl_base.hpp
>
13
14
namespace
uhd
{
namespace
rfnoc {
15
26
class
UHD_RFNOC_API
dma_fifo_block_ctrl
:
public
source_block_ctrl_base
,
27
public
sink_block_ctrl_base
28
{
29
public
:
30
UHD_RFNOC_BLOCK_OBJECT
(
dma_fifo_block_ctrl
)
31
32
33
virtual
void
resize(
34
const
uint32_t base_addr,
const
uint32_t depth,
const
size_t
chan) = 0;
35
37
uint32_t get_base_addr(
const
size_t
chan)
const
;
38
40
uint32_t get_depth(
const
size_t
chan)
const
;
41
42
};
/* class dma_fifo_block_ctrl*/
43
44
}}
/* namespace uhd::rfnoc */
45
46
#endif
/* INCLUDED_LIBUHD_RFNOC_DMA_FIFO_BLOCK_HPP */
uhd::rfnoc::source_block_ctrl_base
Definition:
source_block_ctrl_base.hpp:24
uhd::rfnoc::dma_fifo_block_ctrl
Block controller for a DMA FIFO block.
Definition:
dma_fifo_block_ctrl.hpp:26
uhd::rfnoc::sink_block_ctrl_base
Definition:
sink_block_ctrl_base.hpp:25
source_block_ctrl_base.hpp
UHD_RFNOC_BLOCK_OBJECT
#define UHD_RFNOC_BLOCK_OBJECT(class_name)
This macro must be put in the public section of an RFNoC.
Definition:
block_ctrl_base.hpp:59
UHD_RFNOC_API
#define UHD_RFNOC_API
Definition:
config.hpp:117
sink_block_ctrl_base.hpp
uhd
Definition:
build_info.hpp:13
include
uhd
rfnoc
dma_fifo_block_ctrl.hpp
Generated by
1.8.16