blob: 77fcf8a42cc464da8e2dc3856b2dc2c4ef7162c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* First arg is the package prefix.
* Second arg is the name of the class minus the prefix.
*
* This does some behind-the-scenes magic so we can
* access fcd_source_c from python as fcd.source_c
*/
GR_SWIG_BLOCK_MAGIC(fcd,source_c);
fcd_source_c_sptr fcd_make_source_c (const std::string device_name = "");
class fcd_source_c : public gr_hier_block2
{
public:
void set_freq(float freq);
void set_freq_khz(int freq);
void set_lna_gain(float gain);
void set_mixer_gain(float gain);
void set_freq_corr(int ppm);
void set_dc_corr(double dci, double dcq);
void set_iq_corr(double gain, double phase);
};
|