TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual 24-156 V2.0, 2007-07
GPTA, V2.0
GPTA0_FPCCTRk (k = 0-5)
GPTA0 Filter and Prescaler Cell Control Register k
(048
H
+k*8
H
) Reset Value: 0000 0000
H
GPTA1_FPCCTRk (k = 0-5)
GPTA1 Filter and Prescaler Cell Control Register k
(048
H
+k*8
H
) Reset Value: 0000 0000
H
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0RTGCLKIPSMOD
rrwrwrwrw
1514131211109876543210
CMP
rw
Field Bits Type Description
CMP [15:0] rw Threshold Value of Filter and Prescaler Cell k
CMP is the 16-bit threshold value that is compared
with the 16-bit timer value FPCTIMk.TIM.
MOD [18:16] rw Operation Mode Selection for FPCk
000
B
Delayed Debounce Filter Mode on both edges
001
B
Immediate Debounce Filter Mode on both edges
010
B
Rising edge: Immediate Debounce Filter Mode,
falling edge: no filtering
011
B
Rising edge: no filtering, falling edge: Immediate
Debounce Filter Mode
100
B
Rising edge: Delayed Debounce Filter Mode,
falling edge: Immediate Debounce Filter Mode
101
B
Rising edge: Immediate Debounce Filter Mode,
falling edge: Delayed Debounce Filter Mode
110
B
Prescaler Mode (triggered on rising edge)
111
B
Prescaler Mode (triggered on falling edge)