#include <fcdpp_impl.h>
|
| fcdpp_impl (const std::string device_name, int unit) |
|
| ~fcdpp_impl () |
|
void | set_freq (double freq) override |
| Set frequency with resolution defined by unit.
|
|
void | set_lna (int gain) override |
| Switches the LNA on/off.
|
|
void | set_mixer_gain (int gain) override |
| Switches mixer gain onf/off.
|
|
void | set_freq_corr (double ppm) override |
| Set new frequency correction.
|
|
void | set_if_gain (int gain) override |
| Set If gain.
|
|
|
typedef std::shared_ptr< fcdpp > | sptr |
|
static sptr | make (const std::string device_name="", int unit=1) |
| Return a shared_ptr to a new instance of funcube::fcdpp.
|
|
◆ fcdpp_impl()
gr::funcube::fcdpp_impl::fcdpp_impl |
( |
const std::string |
device_name, |
|
|
int |
unit |
|
) |
| |
◆ ~fcdpp_impl()
gr::funcube::fcdpp_impl::~fcdpp_impl |
( |
| ) |
|
◆ set_freq()
void gr::funcube::fcdpp_impl::set_freq |
( |
double |
freq | ) |
|
|
overridevirtual |
Set frequency with resolution defined by unit.
- Parameters
-
freq | The frequency in unit Hz |
Sets the frequency of the Funcube Dongle with Hz or Khz resolution depending on the unit parameter ( 1: Hz , 1000 Khz ) applying the frequency correction set by set_freq_corr().
Implements gr::funcube::fcdpp.
◆ set_freq_corr()
void gr::funcube::fcdpp_impl::set_freq_corr |
( |
double |
ppm | ) |
|
|
overridevirtual |
◆ set_if_gain()
void gr::funcube::fcdpp_impl::set_if_gain |
( |
int |
gain | ) |
|
|
overridevirtual |
Set If gain.
- Parameters
-
gain | The If gain value between 0 and 59 db |
Implements gr::funcube::fcdpp.
◆ set_lna()
void gr::funcube::fcdpp_impl::set_lna |
( |
int |
gain | ) |
|
|
overridevirtual |
◆ set_mixer_gain()
void gr::funcube::fcdpp_impl::set_mixer_gain |
( |
int |
gain | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: