The Radioshack 22-812 can measure parameters such as transistor gain,
dbm, etc. Add those to libsigrok.h.
The SR_UNIT_UNITLESS is for quantities that do not have units. Any
ratio or gain are just factors, whic do not have units. Specifically,
a transistor's gain, or hFE, is a unitless quantity.
Signed-off-by: Alexandru Gagniuc <redacted>
SR_MQ_CONTINUITY,
SR_MQ_PULSE_WIDTH,
SR_MQ_CONDUCTANCE,
+ /** For a measurement of electrical power, usually in W, or dBm */
+ SR_MQ_POWER,
+ /** Usually for measuring a transistor's gain, or h_FE*/
+ SR_MQ_GAIN,
};
/* sr_datafeed_analog.unit values */
SR_UNIT_PERCENTAGE,
SR_UNIT_BOOLEAN,
SR_UNIT_SECOND,
+ /** Unit of conductance, the inverse of resistance */
SR_UNIT_SIEMENS,
+ /** An absolute measurement of power, in decibels, referenced to
+ * 1 milliwatt */
+ SR_UNIT_DECIBEL_MW,
+ /** Measurements that intrinsically, do not have units attached, such
+ * as ratios, gains, etc
+ * Specifically, a transistor's gain (hFE) is a unitless quantity*/
+ SR_UNIT_UNITLESS,
};
/** sr_datafeed_analog.flags values */