rickseiden
Posts: 411
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA

GPIO interrupts?

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.

User avatar
TonyD
Posts: 439
Joined: Thu Sep 08, 2011 10:58 am
Location: Newcastle, UK
Contact: Website

Re: GPIO interrupts?

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

rickseiden
Posts: 411
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA

Re: GPIO interrupts?

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.

User avatar
gordon@drogon.net
Posts: 1956
Joined: Tue Feb 07, 2012 2:14 pm
Location: Devon, UK
Contact: Website

Re: GPIO interrupts?

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/

Return to “Interfacing (DSI, CSI, I2C, etc.)”

Who is online

Users browsing this forum: No registered users and 11 guests