English
Language : 

XC164-16 Datasheet, PDF (122/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
Capture/Compare Units
Timer Contents
FFFF
FFFF
FFFE
FFFE
FFFD
FFFD
FFFC
FFFC
FFFB
FFFB
FFFA
FFFA
FFF9
FFF9
Reload Value = FFF9
CCxIO
Case 1
CCxIO
Case 2
CCxIO
Case 3
CCxIO
Case 4
CC0 = FFFF
CC0 = FFFA
CC0 = FFF9
CC0 = FFFD
CC0 = FFFC
CC0 = CC0 =
FFFA FFFC
CC0 =
FFFF
CC0 =
FFFB
Symbolizes activation of the interrupt request line CCyIRQ
MCT05422
Figure 17-6 Examples for Compare Modes 0 and 1
In Case 3, a new compare value, higher than the current timer contents, causes a new
match within the current timer period. The compare register is reloaded with FFFAH after
the first match (at FFFCH). However, the timer has already passed this value. Thus, it will
take until the timer reaches FFFAH in the following timer period to cause the desired
compare match. Reloading register CCy now with a value higher than the current timer
contents will cause the next match within this period.
In Case 4, the compare values are equal to the timer reload value or to the maximum
count value, FFFFH.
User’s Manual
CC12_X41, V2.1
17-17
V2.1, 2004-03