AnsweredAssumed Answered

Kardware Key / Button debouncing with one-puls mode of general purpose timers

Question asked by rupprath.marc on Mar 17, 2013
Latest reply on Mar 18, 2013 by malund.erik

i have checked and tried the one -pulse example of the standard periheral library.

In the example The timer uses one channel as input (ch1) and one chanel (ch2) asl output for the pulse.

As a result a can use the one shot signal at ch2 as debounced signal / or the coressponding interupt trigger.
It works fine but it seems that i need 1 Timer to debounce 1 Inbut button.

One Timer has 4 channels my question is if it is possible to debounce more than one input button with a single timer ?

For example : is it possible to trigger two (four) independent one pulses by using ch1 and ch3 as inputs and ch2 and ch4 as outputs.

Or to use all channels as inputs and use the outputcompare register events as triggers "input 1,2,3,4 are debounced".

Thanks in advance.