EasyManua.ls Logo

Infineon Technologies TC1796 - Page 1706

Infineon Technologies TC1796
2150 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual 24-51 V2.0, 2007-07
GPTA, V2.0
How to Proceed
Unsigned greater/equal compare:
SCO bit field = 0F
H
(15
d
)
Thereby, the sign bit of the result is selected to drive TGE flag.
This setting is valid for all possible periods. The observation window always matches the
period.
Signed greater/equal compare:
Depending on the period, the appropriate k is selected, so that:
Period = M - m + 1 (= Max - Min + 1) (24.3)
2
k
< Period 2 × 2
k
(24.4)
SCO bit field = 0 to 0E
H
(0 to 14
d
)
Thereby, the result bit R
k
is selected to drive TGE flag.
This setting is possible for periods greater than 512.
Table 24-1 Period Range Depending on Selected k
2
k
< Period 2 × 2
k
k SCO Bit Field (decimal)
0 < period 512 Not covered by implementation
512 < period 1024 9 0
1024 < period 2048 10 1
2048 < period 4096 11 2
4096 < period 8192 12 3
8192 < period 16384 13 4
16384 < period 32768 14 5
32768 < period 65536 15 6
65536 < period 131072 16 7
131072 < period 262144 17 8
262144 < period 524288 18 9
524288 < period 1048576 19 10
1048576 < period 2097152 20 11
2097152 < period 4194304 21 12
4194304 < period 8388608 22 13
8388608 < period 16777216 23 14

Table of Contents