![]() |
Hamlib 4.7~git
|
Files | |
file | amplist.h |
Hamlib amplifier model definitions. |
Macros | |
#define | AMP_MAKE_MODEL(a, b) |
The amp model number is held in a signed integer. | |
#define | AMP_BACKEND_NUM(a) |
#define | AMP_MODEL_NONE 0 |
A macro that returns the model number for an unknown model. | |
#define | AMP_DUMMY 0 |
#define | AMP_BACKEND_DUMMY "dummy" |
#define | AMP_MODEL_DUMMY AMP_MAKE_MODEL(AMP_DUMMY, 1) |
A macro that returns the model number for DUMMY. | |
#define | AMP_MODEL_NETAMPCTL AMP_MAKE_MODEL(AMP_DUMMY, 2) |
A macro that returns the model number for NETAMPCTL. | |
#define | AMP_ELECRAFT 2 |
#define | AMP_BACKEND_ELECRAFT "elecraft" |
#define | AMP_MODEL_ELECRAFT_KPA1500 AMP_MAKE_MODEL(AMP_ELECRAFT, 1) |
A macro that returns the model number of KPA1500. | |
#define | AMP_GEMINI 3 |
#define | AMP_BACKEND_GEMINI "gemini" |
#define | AMP_MODEL_GEMINI_DX1200 AMP_MAKE_MODEL(AMP_GEMINI, 1) |
A macro that returns the model number of DX1200. | |
#define | AMP_EXPERT 4 |
#define | AMP_BACKEND_EXPERT "expert" |
#define | AMP_MODEL_EXPERT_FA AMP_MAKE_MODEL(AMP_EXPERT, 1) |
A macro that returns the model number of FA. |
Typedefs | |
typedef int | amp_model_t |
#define AMP_BACKEND_DUMMY "dummy" |
Used in amp_reg.c for the be_name.
#define AMP_BACKEND_ELECRAFT "elecraft" |
Used in amp_reg.c for the be_name.
#define AMP_BACKEND_EXPERT "expert" |
Used in amp_reg.c for the be_name.
#define AMP_BACKEND_GEMINI "gemini" |
Used in amp_reg.c for the be_name.
#define AMP_BACKEND_NUM | ( | a | ) |
Convenience macro to derive the backend family number from the model number.
#define AMP_DUMMY 0 |
The DUMMY family. Also contains network models.
#define AMP_ELECRAFT 2 |
The ELECRAFT family.
#define AMP_EXPERT 4 |
The EXPERT family.
#define AMP_GEMINI 3 |
The GEMINI family.
#define AMP_MAKE_MODEL | ( | a, | |
b ) |
The amp model number is held in a signed integer.
Model numbers are a simple decimal value that increments by a value of 100 for each backend, e.g. the DUMMY backend has model numbers 1 to 100, the ELECRAFT backend has model numbers 201 to 300 and so on (101 to 200 is currently unassigned).
#define AMP_MODEL_DUMMY AMP_MAKE_MODEL(AMP_DUMMY, 1) |
A macro that returns the model number for DUMMY.
The DUMMY model, as the name suggests, is a model which performs no hardware operations and always behaves as one would expect. It can be thought of as a hardware simulator and is very useful for testing client applications.
#define AMP_MODEL_ELECRAFT_KPA1500 AMP_MAKE_MODEL(AMP_ELECRAFT, 1) |
A macro that returns the model number of KPA1500.
The KPA1500 model can be used with amplifiers that support the Elecraft KPA-1500 protocol.
#define AMP_MODEL_EXPERT_FA AMP_MAKE_MODEL(AMP_EXPERT, 1) |
A macro that returns the model number of FA.
The Expert FA series of amplifiers is supported by this backend.
#define AMP_MODEL_GEMINI_DX1200 AMP_MAKE_MODEL(AMP_GEMINI, 1) |
A macro that returns the model number of DX1200.
The Gemini DX1200 covers 160 through 4 meters.
#define AMP_MODEL_NETAMPCTL AMP_MAKE_MODEL(AMP_DUMMY, 2) |
A macro that returns the model number for NETAMPCTL.
The NETAMPCTL model allows use of the ampctld daemon through the normal Hamlib C API.
#define AMP_MODEL_NONE 0 |
A macro that returns the model number for an unknown model.
The none backend, as the name suggests, does nothing. It is mainly for internal use.
typedef int amp_model_t |
Convenience type definition for an amplifier model.