English
Language : 

C868_02 Datasheet, PDF (94/244 Pages) Infineon Technologies AG – 8 - Bit CMOS Microcontroller
C868
On-Chip Peripheral Components
compare-match while
counting up
3
2
T12
1
0
T13
T13R
5
4
2
1
0
Figure 4-29 Synchronization of T13 to T12
This figure shows the synchronization of T13 to a T12 event. The selected event in this
example is a compare-match (compare value = 2) while counting up. The clocks of T12
and T13 can be different (other prescaler factor), but for reasons of simplicity, this
example shows the case for T12clk equal to T13clk.
4.7.3 Multi-channel Mode
The multi-channel mode offers a possibility to modulate all six T12-related output signals
within one instruction. The bits in bit field MCMP are used to select the outputs that may
become active. If the multi-channel mode is enabled (bit MCMEN=’1’), only those
outputs may become active, which have a ’1’ at the corresponding bit position in bit field
MCMP.
This bit field has its own shadow bit field MCMPS, which can be written by SW. The
transfer of the new value in MCMPS to the bit field MCMP can be triggered by and
synchronized to T12 or T13 events. This structure permits the SW to write the new value,
which is then taken into account by the HW at a well-defined moment and synchronized
to a PWM period. This avoids unintended pulses due to unsynchronized modulation
sources (T12, T13, SW).
User’s Manual
4-50
V 0.4, 2002-01