USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-g6563c537
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 
13 
14 namespace uhd { namespace rfnoc {
15 
28 {
29 public:
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 */
#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
Definition: sink_block_ctrl_base.hpp:25
Definition: build_info.hpp:13
#define UHD_RFNOC_API
Definition: config.hpp:104
Definition: source_block_ctrl_base.hpp:24
Block controller for a DMA FIFO block.
Definition: dma_fifo_block_ctrl.hpp:26