Open mhennerich opened 5 years ago
Hi Micheal,
Any work by anyone on this? What are people doing right now if one needs to configure thresholds in a DAC for example and wait for the event?
Sorry to say - Nothing done so far.
And about my second question? Directly access the pseudo-files I suppose (e.g. /sys/devices/platform/amba/ff020000.i2c/i2c-0/0-0048/iio:device3/events/in_voltage0_thresh_*
) ?
@mhennerich ,
It would be nice to get support for iio-events. When do you think there would be APIs that can configure and monitor events ?
@vdayananz still around? I think I will have something to test before the end of the month.
I'm interested in events support if it's been implemented, however my ability to do testing is going to be limited by my lack of access to hardware.
@edrose-tewke I'm working on it right now, it should be ready next week!
@vdayananz @edrose-tewke @jeff-dagenais Experimental IIO event support ready for review: https://github.com/analogdevicesinc/libiio/pull/1081
libiio should support all aspects of IIO devices. Right now events are kind of unsupported.
Support of events was asked here: https://ez.analog.com/linux-device-drivers/linux-software-drivers/f/q-a/104138/does-libiio-support-iio-events
This issue/task is to track this development. If someone want's to work on this feel free to contribute.