kopia lustrzana https://github.com/Hamlib/Hamlib
Added constants for the IC-910 rig.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@980 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.3
rodzic
468384fc68
commit
491f9f67f6
|
@ -2,7 +2,7 @@
|
|||
* Hamlib Interface - API header
|
||||
* Copyright (c) 2000,2001 by Stephane Fillod and Frank Singleton
|
||||
*
|
||||
* $Id: rig.h,v 1.60 2002-02-27 23:22:31 fillods Exp $
|
||||
* $Id: rig.h,v 1.61 2002-02-28 11:00:57 fgretief Exp $
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Library General Public License as
|
||||
|
@ -359,6 +359,8 @@ typedef long vfo_op_t;
|
|||
#define RIG_SCAN_PRIO (1L<<2) /* Priority watch (mem or call channel) */
|
||||
#define RIG_SCAN_PROG (1L<<3) /* Programmed(edge) scan */
|
||||
#define RIG_SCAN_DELTA (1L<<4) /* delta-f scan */
|
||||
#define RIG_SCAN_RESUME_ON (1L<<5) /* Scan resume ON (IC-910H) */
|
||||
#define RIG_SCAN_RESUME_OFF (1L<<6) /* Scan resume OFF (IC-910H) */
|
||||
|
||||
typedef long scan_t;
|
||||
|
||||
|
@ -462,13 +464,17 @@ typedef union value_u value_t;
|
|||
#define RIG_LEVEL_BALANCE (1<<19) /* Balance (Dual Watch), arg float [0.0 .. 1.0] */
|
||||
#define RIG_LEVEL_METER (1<<20) /* Display meter, arg int (see enum meter_level_e) */
|
||||
|
||||
#define RIG_LEVEL_VOXGAIN (1<<21) /* VOX gain level, arg float [0.0 .. 1.0] */
|
||||
#define RIG_LEVEL_VOXDELAY RIG_LEVEL_VOX /* VOX delay, arg int (tenth of seconds) */
|
||||
#define RIG_LEVEL_ANTIVOX (1<<22) /* anti-VOX level, arg float [0.0 .. 1.0] */
|
||||
|
||||
/* These ones are not settable */
|
||||
#define RIG_LEVEL_SQLSTAT (1<<27) /* SQL status, arg int (open=1/closed=0). Deprecated, use get_dcd instead */
|
||||
#define RIG_LEVEL_SWR (1<<28) /* SWR, arg float */
|
||||
#define RIG_LEVEL_ALC (1<<29) /* ALC, arg float */
|
||||
#define RIG_LEVEL_STRENGTH (1<<30) /* Signal strength, arg int (dB) */
|
||||
|
||||
#define RIG_LEVEL_FLOAT_LIST (RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_SQL|RIG_LEVEL_APF|RIG_LEVEL_NR|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_COMP|RIG_LEVEL_BALANCE|RIG_LEVEL_SWR|RIG_LEVEL_ALC)
|
||||
#define RIG_LEVEL_FLOAT_LIST (RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_SQL|RIG_LEVEL_APF|RIG_LEVEL_NR|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_COMP|RIG_LEVEL_BALANCE|RIG_LEVEL_SWR|RIG_LEVEL_ALC|RIG_LEVEL_VOXGAIN|RIG_LEVEL_ANTIVOX)
|
||||
|
||||
#define RIG_LEVEL_READONLY_LIST (RIG_LEVEL_SQLSTAT|RIG_LEVEL_SWR|RIG_LEVEL_ALC|RIG_LEVEL_STRENGTH)
|
||||
|
||||
|
@ -534,6 +540,9 @@ typedef unsigned long long setting_t; /* hope 64 bits will be enough.. */
|
|||
#define RIG_FUNC_BC (1<<22) /* Beat Canceller */
|
||||
#define RIG_FUNC_MBC (1<<23) /* Manual Beat Canceller */
|
||||
#define RIG_FUNC_LMP (1<<24) /* LCD lamp ON/OFF */
|
||||
#define RIG_FUNC_AFC (1<<25) /* Auto Frequency Control ON/OFF */
|
||||
#define RIG_FUNC_SATMODE (1<<26) /* Satellite mode ON/OFF (IC-910H) */
|
||||
#define RIG_FUNC_SCOPE (1<<27) /* Simple bandscope ON/OFF (IC-910H) */
|
||||
|
||||
/*
|
||||
* power unit macros, converts to mW
|
||||
|
|
Ładowanie…
Reference in New Issue