17#include <boost/thread/thread.hpp>
22namespace uhd {
namespace usrp {
55 typedef std::shared_ptr<dboard_iface>
sptr;
74 enum aux_adc_t { AUX_ADC_A = int(
'a'), AUX_ADC_B = int(
'b') };
257 const std::string& fe_name,
283 virtual void sleep(
const boost::chrono::nanoseconds& time);
Definition: serial.hpp:36
Definition: time_spec.hpp:31
Definition: dboard_iface.hpp:53
virtual uint32_t get_atr_reg(unit_t unit, atr_reg_t reg)=0
virtual uint32_t get_gpio_ddr(unit_t unit)=0
virtual void set_gpio_ddr(unit_t unit, uint32_t value, uint32_t mask=0xffff)=0
aux_adc_t
aux adc selection enums (per unit)
Definition: dboard_iface.hpp:74
virtual void set_clock_rate(unit_t unit, double rate)=0
dboard_iface_special_props_t special_props_t
Definition: dboard_iface.hpp:56
std::shared_ptr< dboard_iface > sptr
Definition: dboard_iface.hpp:55
virtual special_props_t get_special_props(void)=0
~dboard_iface(void) override
Definition: dboard_iface.hpp:78
virtual void set_atr_reg(unit_t unit, atr_reg_t reg, uint32_t value, uint32_t mask=0xffff)=0
virtual void set_command_time(const uhd::time_spec_t &t)=0
virtual uhd::time_spec_t get_command_time(void)=0
virtual void write_aux_dac(unit_t unit, aux_dac_t which_dac, double value)=0
virtual uint32_t get_gpio_out(unit_t unit)=0
uhd::usrp::gpio_atr::gpio_atr_reg_t atr_reg_t
Definition: dboard_iface.hpp:76
virtual void set_pin_ctrl(unit_t unit, uint32_t value, uint32_t mask=0xffff)=0
virtual void set_gpio_out(unit_t unit, uint32_t value, uint32_t mask=0xffff)=0
unit_t
tells the host which unit to use
Definition: dboard_iface.hpp:59
virtual void set_fe_connection(unit_t unit, const std::string &fe_name, const uhd::usrp::fe_connection_t &fe_conn)=0
virtual double get_codec_rate(unit_t unit)=0
virtual bool has_set_fe_connection(const unit_t)
Definition: dboard_iface.hpp:262
virtual uint32_t get_pin_ctrl(unit_t unit)=0
virtual uint32_t read_write_spi(unit_t unit, const spi_config_t &config, uint32_t data, size_t num_bits)=0
virtual void sleep(const boost::chrono::nanoseconds &time)
virtual void write_spi(unit_t unit, const spi_config_t &config, uint32_t data, size_t num_bits)=0
virtual uint32_t read_gpio(unit_t unit)=0
virtual double get_clock_rate(unit_t unit)=0
aux_dac_t
aux dac selection enums (per unit)
Definition: dboard_iface.hpp:66
virtual double read_aux_adc(unit_t unit, aux_adc_t which_adc)=0
virtual void set_clock_enabled(unit_t unit, bool enb)=0
virtual std::vector< double > get_clock_rates(unit_t unit)=0
Definition: fe_connection.hpp:17
#define UHD_API
Definition: config.h:87
UHD_INLINE data_t mask(const soft_reg_field_t field)
Definition: soft_register.hpp:86
gpio_atr_reg_t
Definition: gpio_defs.hpp:12
Definition: build_info.hpp:12
Definition: serial.hpp:83
Special properties that differentiate this daughterboard slot.
Definition: dboard_iface.hpp:26
bool mangle_i2c_addrs
Definition: dboard_iface.hpp:43
bool soft_clock_divider
Definition: dboard_iface.hpp:33