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