English
Language : 

C868_02 Datasheet, PDF (81/244 Pages) Infineon Technologies AG – 8 - Bit CMOS Microcontroller
C868
On-Chip Peripheral Components
period
value
compare
value
T12
0
compare state=0
=1
T12_xST_re
T12_xST_se
CC6xST
CC6x_T12_xO
(CC6xPS=0)
CC6x_T12_xO
(CC6xPS=1)
passive
active
Figure 4-15 Compare States of Timer T12
=1
=0
active
passive
passive
active
According to the desired capture/compare mode, the compare state bits have to be
switched. Therefore, an additional logic (see Figure 4-16) selects how and by which
event the compare state bits are modified. The mode selection (by bitfields MSEL6x in
register T12MSEL) enables the setting and the resetting of the compare state bits due
to compare actions of timer T12.
The HW modifications of the compare state bits is only possible while the timer T12 is
running. Therefore, the bit T12R is used to enable/disable the modification by HW.
For the hysteresis-like compare mode (MSEL6x=’1001’), the setting of the compare
state bit is only possible while the corresponding input CCPOSx=’1’ (inactive).
If the Hall Sensor mode (MSEL6x=’1000’) is selected, the compare state bits of the
compare channels 1 and 2 are modified by the timer T12 in order to indicate that a
programmed time has elapsed.
User’s Manual
4-37
V 0.4, 2002-01