|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
15 namespace uhd {
namespace features {
23 using sptr = std::shared_ptr<gpio_power_iface>;
32 return "GPIO power configuration";
44 virtual std::vector<std::string> get_supported_voltages(
45 const std::string& port)
const = 0;
53 virtual void set_port_voltage(
54 const std::string& port,
const std::string& voltage) = 0;
61 virtual std::string get_port_voltage(
const std::string& port)
const = 0;
72 virtual void set_external_power(
const std::string& port,
bool enable) = 0;
82 virtual std::string get_external_power_status(
const std::string& port)
const = 0;
@ GPIO_POWER
Definition: discoverable_feature.hpp:39
#define UHD_API
Definition: config.h:87
feature_id_t
An enum of all features supported by the driver. When creating a new.
Definition: discoverable_feature.hpp:32
Definition: build_info.hpp:12
std::string get_feature_name() const
Returns a human-readable string name of this feature.
Definition: gpio_power_iface.hpp:30
Definition: discoverable_feature.hpp:25
std::shared_ptr< discoverable_feature > sptr
Definition: discoverable_feature.hpp:28
static discoverable_feature::feature_id_t get_feature_id()
Definition: gpio_power_iface.hpp:25
Definition: gpio_power_iface.hpp:20