rust-embedded / rust-sysfs-gpio

A Rust Interface to the Linux sysfs GPIO interface (https://www.kernel.org/doc/Documentation/gpio/sysfs.txt)
Apache License 2.0
383 stars 45 forks source link

Level-triggered interrupt #48

Open braincore opened 6 years ago

braincore commented 6 years ago

The PinPoller interface appears to only support edge-triggered interrupts. Are there any plans to support level-triggering? It's the same code but without hardcoding the EPOLLET flag.

posborne commented 6 years ago

That's a good idea; I'll leave this open as a tracking ticket for adding that support. Let me know if you would like to take a shot at proposing a new interface that supports this.