IIO_LIGHT vs IIO_INTENSITY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm not sure I understand the difference between
IIO_LIGHT vs IIO_INTENSITY as seen by the IIO.

As far as i know:

* IIO_LIGHT channels are used to measure illuminance
  [1] and the units after application of scale and offset
  are lux.
* IIO_INTENSITY channels are used to measure luminous
intensity [2]? I guess that units after application of scale (?)
are candela (although, not documented in the ABI file [3]).

Anyhow, reading the code for drivers with IIO_INTENSITY channels
it is not very clear what is the unit for in_intensityY_input or
in_intensityY_raw
after application of scale.

e.g for isl29125 the unit is lux [4]

thanks,
Daniel.

[1] http://en.wikipedia.org/wiki/Illuminance
[2] http://en.wikipedia.org/wiki/Luminous_intensity
[3] http://lxr.free-electrons.com/source/Documentation/ABI/testing/sysfs-bus-iio#L992
[4] http://lxr.free-electrons.com/source/drivers/iio/light/isl29125.c#L122
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux