GPIO interrupts?


4 posts
by rickseiden » Sun Nov 25, 2012 8:58 pm
I've heard rumors about GPIO triggered interrupts being built into the latest kernel, but no information on how to use them. Does anyone out there have a link to information on this? I tried googling, but came up empty.

Thanks
Rick
There are 10 types of people in this world. Those that understand binary, and those that don't.
Posts: 389
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA
by TonyD » Sun Nov 25, 2012 9:47 pm
There was something in the latest magPi (issue 7?) about GPIO interrupts. Not sure if that's what you're looking for.
Tony
User avatar
Posts: 324
Joined: Thu Sep 08, 2011 10:58 am
Location: Newcastle, UK
by rickseiden » Sun Nov 25, 2012 11:13 pm
Thanks, I'll check it out.
There are 10 types of people in this world. Those that understand binary, and those that don't.
Posts: 389
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA
by gordon@drogon.net » Mon Nov 26, 2012 1:05 pm
rickseiden wrote:I've heard rumors about GPIO triggered interrupts being built into the latest kernel, but no information on how to use them. Does anyone out there have a link to information on this? I tried googling, but came up empty.

Thanks
Rick


They've been avalable for some months now (but I don't know if there has been some new change in recent kernels).

See the 'wfi.c' demo program in the wiringPi examples (for an example)

-Gordon
--
Gordons projects: https://projects.drogon.net/
User avatar
Posts: 1421
Joined: Tue Feb 07, 2012 2:14 pm
Location: Devon, UK