|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
13 namespace uhd {
namespace rfnoc {
29 enum class
mode {SAMPLE_MODE, PACKET_MODE};
42 virtual size_t get_max_n()
const = 0;
51 virtual size_t get_n(
const size_t chan = 0)
const = 0;
62 virtual void set_n(
const size_t n,
const size_t chan = 0) = 0;
71 virtual mode get_mode(
const size_t chan = 0)
const = 0;
83 virtual void set_mode(
const mode mode,
const size_t chan = 0) = 0;
Definition: noc_block_base.hpp:42
mode
Definition: keep_one_in_n_block_control.hpp:29
Definition: keep_one_in_n_block_control.hpp:24
#define UHD_API
Definition: config.h:87
Definition: build_info.hpp:12
static const uint32_t REG_N_OFFSET
Definition: keep_one_in_n_block_control.hpp:32
static const uint32_t REG_MODE_OFFSET
Definition: keep_one_in_n_block_control.hpp:33
#define RFNOC_DECLARE_BLOCK(CLASS_NAME)
Definition: noc_block_base.hpp:22
static const uint32_t REG_WIDTH_N_OFFSET
Definition: keep_one_in_n_block_control.hpp:34