~ubuntu-branches/ubuntu/wily/flrig/wily

« back to all changes in this revision

Viewing changes to src/include/IC7100.h

  • Committer: Package Import Robot
  • Author(s): Kamal Mostafa
  • Date: 2014-06-07 11:28:52 UTC
  • Revision ID: package-import@ubuntu.com-20140607112852-v4d5tb1m3h3vi0dl
Tags: upstream-1.3.15
ImportĀ upstreamĀ versionĀ 1.3.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _IC7100_H
 
2
#define _IC7100_H
 
3
 
 
4
#include "IC746.h"
 
5
 
 
6
class RIG_IC7100 : public RIG_IC746PRO {
 
7
public:
 
8
        RIG_IC7100();
 
9
        ~RIG_IC7100(){}
 
10
 
 
11
        void initialize();
 
12
 
 
13
        void selectA();
 
14
        void selectB();
 
15
 
 
16
        void set_modeA(int val);
 
17
        int  get_modeA();
 
18
 
 
19
        void set_modeB(int val);
 
20
        int  get_modeB();
 
21
 
 
22
        void set_bwA(int val);
 
23
        int  get_bwA();
 
24
 
 
25
        void set_bwB(int val);
 
26
        int  get_bwB();
 
27
 
 
28
        int  adjust_bandwidth(int m);
 
29
        int  def_bandwidth(int m);
 
30
 
 
31
        void set_attenuator( int val );
 
32
        int  get_attenuator();
 
33
        void set_mic_gain(int v);
 
34
 
 
35
        void set_compression();
 
36
        void get_comp_min_max_step(int &min, int &max, int &step) {
 
37
                min = 0; max = 10; step = 1; }
 
38
        void set_vox_onoff();
 
39
        void set_vox_gain();
 
40
        void set_vox_anti();
 
41
        void set_vox_hang();
 
42
        void get_vox_hang_min_max_step(int &min, int &max, int &step) {
 
43
                min = 0; max = 200; step = 10; }
 
44
 
 
45
        void get_cw_wpm_min_max(int &min, int &max) {
 
46
                min = 6; max = 48; }
 
47
 
 
48
        void get_cw_qsk_min_max_step(double &min, double &max, double &step) {
 
49
                min = 2.0; max = 13.0; step = 0.1; }
 
50
 
 
51
        void get_cw_spot_tone_min_max_step(int &min, int &max, int &step) {
 
52
                min = 300; max = 900; step = 5; }
 
53
 
 
54
        void set_cw_wpm();
 
55
        void set_cw_qsk();
 
56
        void set_cw_spot_tone();
 
57
        void set_cw_vol();
 
58
 
 
59
        const char **bwtable(int m) {return bandwidths_;}
 
60
 
 
61
 
 
62
};
 
63
 
 
64
#endif