USRP Hardware Driver and USRP Manual  Version: 3.12.0.0-0-unknown
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 {
15  namespace rfnoc {
16 
28 {
29 public:
31 
32 
33  virtual void resize(const uint32_t base_addr, const uint32_t depth, const size_t chan) = 0;
34 
36  uint32_t get_base_addr(const size_t chan) const;
37 
39  uint32_t get_depth(const size_t chan) const;
40 
41 }; /* class dma_fifo_block_ctrl*/
42 
43 }} /* namespace uhd::rfnoc */
44 
45 #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:61
Definition: sink_block_ctrl_base.hpp:26
Definition: build_info.hpp:14
#define UHD_RFNOC_API
Definition: config.hpp:93
Definition: source_block_ctrl_base.hpp:25
Block controller for a DMA FIFO block.
Definition: dma_fifo_block_ctrl.hpp:27