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 <mr.nuke.me@gmail.com>
This commit is contained in:
Alexandru Gagniuc 2012-12-15 11:03:10 -06:00 committed by Bert Vermeulen
parent 6787f4049a
commit 801c7800c6
1 changed files with 5 additions and 0 deletions

View File

@ -210,6 +210,11 @@ enum {
SR_UNIT_UNITLESS, SR_UNIT_UNITLESS,
/** Sound pressure level relative so 20 micropascals. */ /** Sound pressure level relative so 20 micropascals. */
SR_UNIT_DECIBEL_SPL, 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, SR_UNIT_CONCENTRATION,
}; };