Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

gran Struct Reference

level/parm granularity definition More...

#include <rig.h>


Data Fields

value_t min
value_t max
value_t step


Detailed Description

level/parm granularity definition

The granularity is undefined if min=0, max=0, and step=0.

For float settings, if min.f=0 and max.f=0 (and step.f!=0), max.f is assumed to be actually equal to 1.0.

If step=0 (and min and/or max are not null), then this means step can have maximum resolution, depending on type (int or float).


Field Documentation

value_t gran::max
 

Maximum value

value_t gran::min
 

Minimum value

value_t gran::step
 

Step


The documentation for this struct was generated from the following file:
Generated on Sat Sep 30 15:49:37 2006 for Hamlib - the C library reference by  doxygen 1.4.4