Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

enum vfo_op_t

VFO operation.

A VFO operation is an action on a VFO (or tunable memory). The difference with a function is that an action has no on/off status, it is performed at once.

Note: the vfo argument for some vfo operation may be irrelevant, and thus will be ignored.

The VFO/MEM "mode" is set by rig_set_vfo.
STRING used in rigctl

See also:
rig_parse_vfo_op() rig_strvfop()
Enumerator:
RIG_OP_NONE  '' No VFO_OP
RIG_OP_CPY  CPY -- VFO A = VFO B
RIG_OP_XCHG  XCHG -- Exchange VFO A/B
RIG_OP_FROM_VFO  FROM_VFO -- VFO->MEM
RIG_OP_TO_VFO  TO_VFO -- MEM->VFO
RIG_OP_MCL  MCL -- Memory clear
RIG_OP_UP  UP -- UP increment VFO freq by tuning step
RIG_OP_DOWN  DOWN -- DOWN decrement VFO freq by tuning step
RIG_OP_BAND_UP  BAND_UP -- Band UP
RIG_OP_BAND_DOWN  BAND_DOWN -- Band DOWN
RIG_OP_LEFT  LEFT -- LEFT
RIG_OP_RIGHT  RIGHT -- RIGHT
RIG_OP_TUNE  TUNE -- Start tune
RIG_OP_TOGGLE  TOGGLE -- Toggle VFOA and VFOB

Definition at line 452 of file rig.h.

             {
      RIG_OP_NONE =           0,  /*!< '' No VFO_OP */
      RIG_OP_CPY =            (1<<0),     /*!< \c CPY -- VFO A = VFO B */
      RIG_OP_XCHG =           (1<<1),     /*!< \c XCHG -- Exchange VFO A/B */
      RIG_OP_FROM_VFO = (1<<2),     /*!< \c FROM_VFO -- VFO->MEM */
      RIG_OP_TO_VFO =         (1<<3),     /*!< \c TO_VFO -- MEM->VFO */
      RIG_OP_MCL =            (1<<4),     /*!< \c MCL -- Memory clear */
      RIG_OP_UP =       (1<<5),     /*!< \c UP -- UP increment VFO freq by tuning step*/
      RIG_OP_DOWN =           (1<<6),     /*!< \c DOWN -- DOWN decrement VFO freq by tuning step*/
      RIG_OP_BAND_UP =  (1<<7),     /*!< \c BAND_UP -- Band UP */
      RIG_OP_BAND_DOWN =      (1<<8),     /*!< \c BAND_DOWN -- Band DOWN */
      RIG_OP_LEFT =           (1<<9),     /*!< \c LEFT -- LEFT */
      RIG_OP_RIGHT =          (1<<10),/*!< \c RIGHT -- RIGHT */
      RIG_OP_TUNE =           (1<<11),/*!< \c TUNE -- Start tune */
      RIG_OP_TOGGLE =         (1<<12) /*!< \c TOGGLE -- Toggle VFOA and VFOB */
} vfo_op_t;


Generated by  Doxygen 1.6.0   Back to index