Quantcast
Channel: banana pi single board computer open source project official forum BPI team - Latest posts
Viewing all articles
Browse latest Browse all 43563

How to get IRQ number for GPIO?

$
0
0

Update: GPIO 27 is not valid. gpio_request() returns -EINVAL. But for 71 gpio_request and gpio_direction_input executed without errors. This is the reason why I think that 71 is a valid GPIO number for pin 13.

So, the question is the same: how to get IRQ number if gpio_to_irq does not work?


Viewing all articles
Browse latest Browse all 43563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>