From 6b8692346358362f4b7b004059c62c23f4889410 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Tue, 16 Oct 2012 23:28:04 +0200 Subject: [PATCH] add SR_UNIT_DECIBEL_VOLT (dBu) --- libsigrok.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libsigrok.h b/libsigrok.h index da770f44..251a2e4d 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -167,14 +167,16 @@ enum { SR_UNIT_PERCENTAGE, SR_UNIT_BOOLEAN, SR_UNIT_SECOND, - /** Unit of conductance, the inverse of resistance */ + /** Unit of conductance, the inverse of resistance. */ SR_UNIT_SIEMENS, /** An absolute measurement of power, in decibels, referenced to - * 1 milliwatt */ + * 1 milliwatt (dBu). */ 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*/ + /** Voltage in decibel, referenced to 1 volt (dBV). */ + SR_UNIT_DECIBEL_VOLT, + /** 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, };