rotator.h File Reference

Hamlib rotator data structures. More...

#include <hamlib/rig.h>
#include <hamlib/rotlist.h>

Go to the source code of this file.

Data Structures

struct  rot_caps
 Rotator data structure. More...
struct  rot_state
 Live data and customized fields. More...
struct  rot
 This is the master data structure, acting as a handle for the controlled rotator. More...

Defines

#define NETROTCTL_RET   "RPRT "
 Token in the netrotctl protocol for returning error code.
#define ROT_RESET_ALL   1
 A macro that returns the flag for the reset operation.
#define ROT_FLAG_AZIMUTH   (1<<1)
 A macro that returns the azimuth flag.
#define ROT_FLAG_ELEVATION   (1<<2)
 A macro that returns the elevation flag.
#define ROT_MOVE_UP   (1<<1)
 A macro that returns the flag for the UP direction.
#define ROT_MOVE_DOWN   (1<<2)
 A macro that returns the flag for the DOWN direction.
#define ROT_MOVE_LEFT   (1<<3)
 A macro that returns the flag for the LEFT direction.
#define ROT_MOVE_CCW   ROT_MOVE_LEFT
 A macro that returns the flag for the counterclockwise direction.
#define ROT_MOVE_RIGHT   (1<<4)
 A macro that returns the flag for the RIGHT direction.
#define ROT_MOVE_CW   ROT_MOVE_RIGHT
 A macro that returns the flag for the clockwise direction.
#define rot_debug   rig_debug
 Convenience definition for debug level.

Typedefs

typedef struct rot ROT
 Rotator structure definition (see rot for details).
typedef float elevation_t
 Type definition for elevation.
typedef float azimuth_t
 Type definition for azimuth.
typedef int rot_reset_t
 Type definition for rotator reset.


Detailed Description

Hamlib rotator data structures.

This file contains the data structures and definitions for the Hamlib rotator API. see the rotator.c file for more details on the rotator API.


Hamlib documentation for version 1.2.8 -- Mon Dec 15 18:03:30 2008
Project page: http://hamlib.org