From f2f1204ea47865cf16e2a27fb3e004baedbb82f8 Mon Sep 17 00:00:00 2001 From: Derek Kozel Date: Tue, 18 Apr 2017 16:04:27 +0100 Subject: lmk: Update LMK04828 driver with values for Magnesium --- mpm/python/lmk02848_py.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mpm/python/lmk02848_py.hpp (limited to 'mpm/python/lmk02848_py.hpp') diff --git a/mpm/python/lmk02848_py.hpp b/mpm/python/lmk02848_py.hpp new file mode 100644 index 000000000..5b0b89a1c --- /dev/null +++ b/mpm/python/lmk02848_py.hpp @@ -0,0 +1,13 @@ +#include "../../host/lib/usrp/common/lmk04828.hpp" + +#ifdef LIBMPM_PYTHON +void export_(){ + LIBMPM_BOOST_PREAMBLE("lmk04828") + bp::class_("lmk04828", bp::init()) + .def("verify_chip_id", &lmk04828_iface::verify_chip_id) + .def("get_chip_id", &lmk04828_iface::get_chip_id) + .def("init", &lmk04828_iface::init) + .def("send_sysref_pulse", &lmk04828_iface::send_sysref_pulse) + ; +} +#endif -- cgit v1.2.3