summaryrefslogtreecommitdiff
path: root/gr-fcd/swig/fcd_source_c.i
blob: 3438ab74d2fa35e197ffbb27f810eb0cb55ecb2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * 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_freq_corr(int ppm);
  void set_dc_corr(double dci, double dcq);
  void set_iq_corr(double gain, double phase);
};