12 namespace uhd {
namespace rfnoc {
105 static const uint32_t REG_ENABLE_ADDR;
106 static const uint32_t REG_CLEAR_ADDR;
107 static const uint32_t REG_RANDOM_ADDR;
108 static const uint32_t REG_DECIM_ADDR;
109 static const uint32_t REG_OFFSET_ADDR;
110 static const uint32_t REG_SCALE_ADDR;
111 static const uint32_t REG_TRISE_ADDR;
112 static const uint32_t REG_TDECAY_ADDR;
113 static const uint32_t REG_ALPHA_ADDR;
114 static const uint32_t REG_EPSILON_ADDR;
115 static const uint32_t REG_WF_CTRL_ADDR;
116 static const uint32_t REG_WF_DECIM_ADDR;
124 virtual
void set_enable_histogram(const
bool enable_histogram) = 0;
132 virtual
bool get_enable_histogram() const = 0;
140 virtual
void set_enable_waterfall(const
bool enable_waterfall) = 0;
148 virtual
bool get_enable_waterfall() const = 0;
155 virtual
void clear_history() = 0;
164 virtual
void set_enable_dither(const
bool enable_dither) = 0;
172 virtual
bool get_enable_dither() const = 0;
181 virtual
void set_enable_noise(const
bool enable_noise) = 0;
189 virtual
bool get_enable_noise() const = 0;
201 virtual
void set_histogram_decimation(const uint16_t decimation) = 0;
209 virtual uint16_t get_histogram_decimation() const = 0;
218 virtual
void set_histogram_offset(const uint16_t offset) = 0;
226 virtual uint16_t get_histogram_offset() const = 0;
235 virtual
void set_histogram_scale(const uint16_t scale) = 0;
243 virtual uint16_t get_histogram_scale() const = 0;
256 virtual
void set_histogram_rise_rate(const uint16_t rise_rate) = 0;
264 virtual uint16_t get_histogram_rise_rate() const = 0;
277 virtual
void set_histogram_decay_rate(const uint16_t decay_rate) = 0;
285 virtual uint16_t get_histogram_decay_rate() const = 0;
296 virtual
void set_spectrum_alpha(const uint16_t alpha) = 0;
305 virtual uint16_t get_spectrum_alpha() const = 0;
315 virtual
void set_spectrum_max_hold_decay(const uint16_t epsilon) = 0;
324 virtual uint16_t get_spectrum_max_hold_decay() const = 0;
332 virtual
void set_waterfall_predivision(
373 virtual
void set_waterfall_decimation(const uint16_t waterfall_decimation) = 0;
381 virtual uint16_t get_waterfall_decimation() const = 0;