Multiple IIO_THRESHOLD events

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

 



Hello Jonathan,

I am currently working on temperature sensor that has multiple trip
points, and was wondering what would be the correct way to tie this to
one channel if several events may have the same IIO_EV_DIR_*
direction.

low temp trippoint - > IIO_EV_DIR_FALLING
high temp trippoint -> IIO_EV_DIR_RISING
critical temp trippoint ->  ?

Would it make sensor to add functionality to allow iio_event_spec to
have an .index field so multiple IIO_EV_DIR_RISING could be parsed
into sysfs entries?


Thanks,

Matt
--
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