English
Language : 

XC164-16 Datasheet, PDF (158/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 Unit 6 (CAPCOM6)
A hardware-modification of a State Bit CC6xST is only possible while Timer T12 is
running (T12R = 1). If this is the case, the following rules apply for setting and resetting
the State Bits in Compare Mode (illustrated in Figure 18-11 and Figure 18-12):
A State Bit CC6xST is set to 1
• with the next T12 clock (fT12) after a compare-match when T12 is counting up
(i.e., when the counter is incremented above the compare value);
• with the next T12 clock (fT12) after a zero-match AND a parallel compare-match when
T12 is counting up.
A State Bit CC6xST is reset to 0
• with the next T12 clock (fT12) after a compare-match when T12 is counting down
(i.e., when the counter is decremented below the compare value);
• with the next T12 clock (fT12) after a zero-match AND NO parallel compare-match
when T12 is counting up.
fT12
T12 Count
Compare-Match
Compare-Match
CC6xST
Figure 18-11 Compare Operation, Edge-Aligned Mode
Period
Value
Compare
Value
Zero
MCT05515
fT12
Compare-Match
T12 Count
Compare-Match
CC6xST
Figure 18-12 Compare Operation, Center-Aligned Mode
User’s Manual
CAPCOM6_X, V2.0
18-14
Period
Value
Compare
Value
Zero
MCT05516
V2.1, 2004-03