GPIO in the kernel: an introduction
GPIO in the kernel: an introduction
Posted Dec 13, 2016 14:56 UTC (Tue) by nybble41 (subscriber, #55106)In reply to: GPIO in the kernel: an introduction by bla
Parent article: GPIO in the kernel: an introduction
> Anything speaking against using gpio_get_value in the isr to discern between rising and falling?
The ISR will only run on the rising edge _or_ the falling edge, not both, so gpio_get_value will generally return a known result: either high for a rising-edge-triggered interrupt, or low for falling-edge.
