TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual
24-49
V2.0, 2007-07
GPTA, V2.0
Figure 24-37 Result and Observation (Period = 16)
shows the case of a period of 12 which is not a power of 2. Here again, the
Table in
applies.
Figure 24-38 Result and Observation (Period = 12)
MCT05946
0
15
Evaluation of S
Evaluation of R
3
S = 1
S = 0
R
3
= 1
R
3
= 0
T
Evaluation of: Result = Timer - T
N
3
N
2
N
1
N
0
T
3
T
2
T
1
T
0
-
R
3
R
2
R
1
R
0
S
Timer Value
Threshold Value
Result Value with Sign Bit S
Example for 4-Bit Timer (n = 4):
Unsigned Compare: The Bit Evaluated is S
Signed Compare (on Bit 3): The Bit Evaluated is R
3
MCT05947
4
15
Evaluation of R
3
R
3
= 1
R
3
= 0
T
Evaluation of: Result = Timer - T
N
3
N
2
N
1
N
0
T
3
T
2
T
1
T
0
-
R
3
R
2
R
1
R
0
S
Timer Value
Threshold Value
Result Value with Sign Bit S
R
3
= 1
Comparator
Observation Window
Window
Core Observation
Window