patching the kernel for debouncing.

1 view
Skip to first unread message

mpa...@gmail.com

unread,
Apr 28, 2009, 3:46:28 AM4/28/09
to Chieroth

Todor

unread,
May 25, 2009, 2:34:55 PM5/25/09
to Chieroth
Hi guys,

I tried something today and finally the debouncing is going to be done
in hardware. The Schmitt trigger was the key, though I neglected it.

Note, however, the following peculiarity: gpio pins give interrupt on
change. This means that 2 interrupts are generated per button press -
1 for the rising edge and 1 for the falling edge. We have to live with
that and check the value of the pin in the ISR to determine the edge
type.

Kind regards,
Todor

On Apr 28, 10:46 am, mpas...@gmail.com wrote:
> http://lkml.org/lkml/2008/9/24/325

Claudio

unread,
May 25, 2009, 2:41:34 PM5/25/09
to chie...@googlegroups.com
Ok Todor,

Nice that we can debounce by hardware. And I will make something up for the double interrupt of the button.

Thank you very much for all your effort. See you tomorrow.

Best regards,
--
Claudio M. Camacho
http://www.claudiocamacho.org
Reply all
Reply to author
Forward
0 new messages