TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual 24-16 V2.0, 2007-07
GPTA, V2.0
Note: During the last clock cycle of edge inhibition time (where timer value is equal to
the compare value) an input signal glitch will be filtered but the corresponding
glitch status flag in register FPCSTAT is not set.
The Immediate Debounce Filter can be enabled only for one edge, either rising or falling.
In this case, the signal output follows the signal input value immediately after the timer
threshold of the filtered edge is reached, without re-starting the timer (see Figure 24-9).
Figure 24-9 FPC Immediate Debounce Filter Algorithm on Rising Edge only
The FPC Immediate Debounce Filter Modes are selected by:
• FPCCTRk.MOD = 001
B
: Immediate Debounce Filter Mode on both edges
• FPCCTRk.MOD = 010
B
: Immediate Debounce Filter Mode on rising edge only,
no filtering on falling edge.
• FPCCTRk.MOD = 011
B
: Immediate Debounce Filter Mode on falling edge only,
no filtering on rising edge.
MCT05918
Edge Inhibition
Timer Threshold
must be cleared
by software
Signal Input
SIN
Timer Value
FPCCTRk.TIM
Level Output
SOLk
FPCSTAT.FEGk
FPCSTAT.REGk
Trigger Output
SOTk