1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
|
/*
* Copyright 2021 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
/***********************************************************************************/
/* This file is automatically generated using bindtool and can be manually edited */
/* The following lines can be configured to regenerate this file during cmake */
/* If manual edits are made, the following tags should be modified accordingly. */
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(hermesWB.h) */
/* BINDTOOL_HEADER_FILE_HASH(714ad0c6cc0bde5794884a55be577134) */
/***********************************************************************************/
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
#include <hpsdr/hermesWB.h>
// pydoc.h is automatically generated in the build directory
#include <hermesWB_pydoc.h>
void bind_hermesWB(py::module& m)
{
using hermesWB = ::gr::hpsdr::hermesWB;
py::class_<hermesWB, gr::block, gr::basic_block,
std::shared_ptr<hermesWB>>(m, "hermesWB", D(hermesWB))
.def(py::init(&hermesWB::make),
py::arg("RxPre"),
py::arg("Intfc"),
py::arg("ClkS"),
py::arg("AlexRA"),
py::arg("AlexTA"),
py::arg("AlexHPF"),
py::arg("AlexLPF"),
py::arg("MACAddr"),
D(hermesWB,make)
)
.def("set_RxPreamp",&hermesWB::set_RxPreamp,
py::arg("arg0"),
D(hermesWB,set_RxPreamp)
)
.def("set_ClockSource",&hermesWB::set_ClockSource,
py::arg("arg0"),
D(hermesWB,set_ClockSource)
)
.def("set_AlexRxAntenna",&hermesWB::set_AlexRxAntenna,
py::arg("arg0"),
D(hermesWB,set_AlexRxAntenna)
)
.def("set_AlexTxAntenna",&hermesWB::set_AlexTxAntenna,
py::arg("arg0"),
D(hermesWB,set_AlexTxAntenna)
)
.def("set_AlexRxHPF",&hermesWB::set_AlexRxHPF,
py::arg("arg0"),
D(hermesWB,set_AlexRxHPF)
)
.def("set_AlexTxLPF",&hermesWB::set_AlexTxLPF,
py::arg("arg0"),
D(hermesWB,set_AlexTxLPF)
)
.def("stop",&hermesWB::stop,
D(hermesWB,stop)
)
.def("start",&hermesWB::start,
D(hermesWB,start)
)
;
}
|