English
Language : 

XC164-16 Datasheet, PDF (156/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.1.2 T12 Compare Modes
Associated with Timer T12 are three individual capture/compare channels, which can
perform compare or capture operations with regard to the contents of the T12 counter.
The capture functions are explained in Section 18.1.4.
In Compare Mode (see Figure 18-9), the three channels can operate either
independently as individual channels, or generate a three-phase PWM pattern.
fT12
Counter Register
T12
CDIR
&
&
Comp.
=?
Comp.
=?
Comp.
=?
Compare Register
CC60R
Compare Register
CC61R
Compare Register
CC62R
CM_61_DN
CM_61_UP
Compare
Match CM_61
Compare
Match CM_62
Compare
Match CM_60
T12_ST
Compare Shadow
Register CC60SR
Compare Shadow
Register CC61SR
Compare Shadow
Register CC62SR
MCA05513
Figure 18-9 T12 Channel Comparators
Each channel is connected to the T12 counter register via its individual equal-to
comparator, which generates a match signal when the contents of the counter matches
the contents of the associated compare register. Each channel consists of the
comparator and a double register structure - the actual compare register CC6xR, feeding
the comparator, and an associated shadow register CC6xSR, which is preloaded by
software and transferred into the compare register when signal T12 shadow transfer,
T12_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).
User’s Manual
CAPCOM6_X, V2.0
18-12
V2.1, 2004-03