From 801c7800c6260a2e12aa2618263a717334946eb8 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Sat, 15 Dec 2012 11:03:10 -0600 Subject: [PATCH] linsigrok.h: Document meaning of SR_UNIT_CONCENTRATION Having concentration as a unit is vague, as it can be expressed in many ways. In the context of sigrok, concentration means a normalized number from 0 to 1. Document its meaning. Signed-off-by: Alexandru Gagniuc --- libsigrok.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libsigrok.h b/libsigrok.h index ee1e9e10..9946691e 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -210,6 +210,11 @@ enum { SR_UNIT_UNITLESS, /** Sound pressure level relative so 20 micropascals. */ SR_UNIT_DECIBEL_SPL, + /** + * Normalized (0 to 1) concentration of a substance or compound with 0 + * representing a concentration of 0%, and 1 being 100%. This is + * represented as the fraction of number of particles of the substance. + */ SR_UNIT_CONCENTRATION, };