How to detecting interrupt on a GPIO line in Embedded Linux?

前端 未结 1 1352
独厮守ぢ
独厮守ぢ 2021-02-06 11:45

There is an interrupt being generated at every 10ms on GPIO_39 in the pandaboard OMAP4. I have registered a handler for this in Linux driver code, but the handler is not being c

1条回答
  •  感情败类
    2021-02-06 12:24

    Make the GPIO pin explicitly to detect falling edge.

    At the gpio module level it is necessary to enable FALLING_DETECT of gpio.

    0 讨论(0)
提交回复
热议问题