GPIO in the kernel: an introduction
GPIO in the kernel: an introduction
Posted Dec 13, 2016 16:46 UTC (Tue) by bla (guest, #112986)In reply to: GPIO in the kernel: an introduction by nybble41
Parent article: GPIO in the kernel: an introduction
Posted Dec 13, 2016 18:28 UTC (Tue)
by nybble41 (subscriber, #55106)
[Link] (5 responses)
Things may be different on ARM or x86, but in my work on embedded PowerPC targets I have yet to see an interrupt controller than can be configured to trigger on both rising and falling edges for the same signal. Typically there are four possible trigger modes, of which only one can be active at a time: rising edge, falling edge, high level, or low level.
Posted Dec 13, 2016 19:11 UTC (Tue)
by bla (guest, #112986)
[Link]
Posted Dec 15, 2016 11:07 UTC (Thu)
by bla (guest, #112986)
[Link] (3 responses)
Posted Dec 15, 2016 20:05 UTC (Thu)
by BlueLightning (subscriber, #38978)
[Link] (2 responses)
Posted Dec 15, 2016 20:32 UTC (Thu)
by pizza (subscriber, #46)
[Link] (1 responses)
Why spent that money on every unit when it can be done once, "for free" in software?
Posted Dec 17, 2016 6:44 UTC (Sat)
by flussence (guest, #85566)
[Link]
GPIO in the kernel: an introduction
GPIO in the kernel: an introduction
GPIO in the kernel: an introduction
For implementing long button presses, detecting the first flank and reading the level with a thread after some delay seems to be the better approach, it also doesn't require a state change to trigger the long press signal.
GPIO in the kernel: an introduction
GPIO in the kernel: an introduction
GPIO in the kernel: an introduction