English
Language : 

XC164-16 Datasheet, PDF (182/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)
T13R
CM_63
T13_ZM
T13_SSEP
Set/Reset
Control
Logic
State Bit
CC63ST
CC63ST
CC63ST
MCC63S/R
MCB05532
Figure 18-28 T13 State Bit Block Diagram
The inputs to the set/reset logic for the CC6xST bits are the timer run bit (T13R), the
timer zero-match signal (T13_ZM), the end-of-single-shot mode signal (T13_SSEP), and
the actual individual compare-match signal CM_63. In addition, the state bit can be set
or reset by software via the set and reset bits, MCC63S and MCC63R.
A modification of the State Bit CC63ST by hardware is only possible while Timer T13 is
running (T13R = 1). If this is the case, the following rules apply for setting and resetting
the State Bit in Compare Mode:
State Bit CC63ST is set to 1
• with the next T13 clock (fT13) after a compare-match (T13 is always counting up)
(i.e., when the counter is incremented above the compare value);
• with the next T13 clock (fT13) after a zero-match AND a parallel compare-match.
State Bit CC63ST is reset to 0
• with the next T13 clock (fT13) after a zero-match AND NO parallel compare-match.
fT13
T13 Count
Compare-Match
Compare-Match
Period
Value
Compare
Value
Zero
CC63ST
MCT05533
Figure 18-29 T13 Compare Operation
Note: The waveforms in Figure 18-29 correspond to the T12-waveforms in
Figure 18-11.
User’s Manual
CAPCOM6_X, V2.0
18-38
V2.1, 2004-03