aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/multi_usrp_python.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-07-02 16:22:57 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-07-16 15:17:26 -0500
commite4291f1ddcf9f23e4449201fc2677c0379b13ca6 (patch)
tree65d4fab6351e70cd0a201f64b79159e977120412 /host/lib/usrp/multi_usrp_python.hpp
parent35038421e1b3edd577037cd1dddc4e77df76a3ab (diff)
downloaduhd-e4291f1ddcf9f23e4449201fc2677c0379b13ca6.tar.gz
uhd-e4291f1ddcf9f23e4449201fc2677c0379b13ca6.tar.bz2
uhd-e4291f1ddcf9f23e4449201fc2677c0379b13ca6.zip
multi_usrp: Add get_radio_control() API call
This is an advanced API call that allows direct underlying access to the radio_control object for RFNoC devices.
Diffstat (limited to 'host/lib/usrp/multi_usrp_python.hpp')
-rw-r--r--host/lib/usrp/multi_usrp_python.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/multi_usrp_python.hpp b/host/lib/usrp/multi_usrp_python.hpp
index cf2db7690..6c2fd2ccf 100644
--- a/host/lib/usrp/multi_usrp_python.hpp
+++ b/host/lib/usrp/multi_usrp_python.hpp
@@ -85,6 +85,7 @@ void export_multi_usrp(py::module& m)
.def("get_mboard_sensor" , &multi_usrp::get_mboard_sensor, py::arg("name"), py::arg("mboard") = 0)
.def("get_mboard_sensor_names" , &multi_usrp::get_mboard_sensor_names, py::arg("mboard") = 0)
.def("set_user_register" , &multi_usrp::set_user_register, py::arg("addr"), py::arg("data"), py::arg("mboard") = ALL_MBOARDS)
+ .def("get_radio_control" , &multi_usrp::get_radio_control, py::arg("chan") = 0)
// RX methods
.def("set_rx_subdev_spec" , &multi_usrp::set_rx_subdev_spec, py::arg("spec"), py::arg("mboard") = ALL_MBOARDS)