English
Language : 

XC164-16 Datasheet, PDF (181/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)
18.2.2 T13 Compare Modes
Associated with Timer T13 is one compare channel, which can perform compare
operations with regard to the contents of the T13 counter.
Figure 18-27 gives an overview on the T13 channel in Compare Mode. The channel is
connected to the T13 counter register via an Equal-to comparator, which generates a
match signal when the contents of the counter matches the contents of the compare
register. The channel consists of the comparator and a double register structure - the
actual compare register, CC63R, feeding the comparator, and an associated shadow
register, CC63SR, which is preloaded by software and transferred into the compare
register when signal T13 shadow transfer, T13_ST, gets active. Providing a shadow
register for the compare value as well as for other values related to the generation of the
PWM signal facilitates a concurrent update by software for all relevant parameters. See
also Section 18.8, which provides an overview on this functionality.
fT13
Counter Register
T13
Comp.
=?
Compare Register
CC63R
Compare Match CM_63
T13_ST
Compare Shadow
Register CC63SR
MCA05531
Figure 18-27 T13 Channel Comparator
Associated with the channel is a State Bit, CC63ST, which holds the status of the
compare operation. This bit is set and reset according to certain conditions, which are
explained in more detail in the following sections. Figure 18-28 gives an overview on the
logic for the State Bit.
User’s Manual
CAPCOM6_X, V2.0
18-37
V2.1, 2004-03