TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-17
V1.1, 2011-05
GPTA
®
v5, V1.14
Immediate Debounce Filter Mode
In Immediate Debounce Filter Mode, the input signal is filtered from signal transitions
and glitches arriving a programmable time after an input signal edge detection (see
The input signal SIN is sampled with
f
GPTA
and the input signal SIN edge detection is also
performed with
f
GPTA
. The further analysis (e.g. filter timer increment, glitch detection) is
done at the selected filter clock rate of CIN.
As long as the timer is reset, the FPC control circuitry copies the sampled input value
directly to the level output signal line SOLk. When a rising or falling edge occurs on the
signal input line SIN and the 16-bit compare value FPCCTRk.CMP is not zero, the timer
is enabled to be incremented by the selected clock and the copy mechanism is disabled.
When the timer value FPCTIMk.TIM matches the compare value FPCCTRk.CMP, the
timer is reset and the copy mechanism is enabled again. A rising or falling edge,
occurring on SIN while the timer is greater than zero but less than the compare value,
sets the corresponding glitch flag FPCSTAT.REG (on rising edge glitch) or
FPCSTAT.FEG (on falling edge glitch). The rising/falling edge glitch flags must be reset
by software.
The filter is by-passed if the compare value FPCCTRk.CMP is programmed to zero
(0000
H
). In this case, the input signal is directly copied to the output signal without any
disable periods.
Figure 21-8 FPC Immediate Debounce Filter Algorithm on Both Edges
must be cleared
by software
MCT05917
Edge Inhibition
Timer Threshold
Signal Input
SIN
Timer Value
FPCCTRk.TIM
Level Output
SOLk
FPCSTAT.FEGk
FPCSTAT.REGk
Trigger Output
SOTk
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...