Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: artone on June 19, 2015, 11:07:30 PM

Title: external interrupt
Post by: artone on June 19, 2015, 11:07:30 PM
It is possible with some gpio pin acquire a external interrupt?
Where i can find a sample in c to trigger a gpio pin  ?
Thanks
Title: Re: external interrupt
Post by: lambda on June 20, 2015, 10:18:59 PM
Hi artone,

maybe one of this two threads is helpful to you:
https://www.olimex.com/forum/index.php?topic=429.msg1623#msg1623
https://www.olimex.com/forum/index.php?topic=3849.msg16237#msg16237

also there are some kernel modules like gpio_keys.ko that can
provide gpio based events to userspace.

If none of these helps, the you have to be more specific of what
you want to do.

HTH,
Harald
Title: Re: external interrupt
Post by: artone on June 22, 2015, 10:06:48 AM
Thanks