English
Language : 

C868_02 Datasheet, PDF (76/244 Pages) Infineon Technologies AG – 8 - Bit CMOS Microcontroller
C868
4.7.1 Timer T12
On-Chip Peripheral Components
4.7.1.1 Overview
The timer T12 is used for capture/compare purposes with three independent channels.
The timer T12 is a 16-bit wide counter. Three channel registers (CC60R, CC61R,
CC62R), which are built with shadow registers (CC60SR, CC61SR, CC62SR), contain
the compare value or the captured timer value. In compare mode, the software writes to
the shadow registers and their contents are transferred simultaneously to the actual
compare registers during the T12 shadow transfer. In capture mode, the captured value
of T12 can be read from the channel registers. The period of the timer T12 is fixed by the
period register T12PR, which is also built with a shadow register.
The write access from the CPU targets the corresponding shadow registers, whereas the
read access targets the registers actually used (except for the three compare channels,
where the actual and the shadow registers can be read).
= 1 ? one-match
= 0 ? zero-match
=?
16
period-match
T12PR
=?
16
compare-match
CC6xR
16
counter
register T12
T12PS
period shadow transfer
compare shadow transfer
CC6xSR
capture events
according to
bitfield MSEL6x
T12clk
Figure 4-10 T12 Overview
While timer T12 is running, write accesses to register T12 are not taken into account. If
the timer T12 is stopped and the dead-time counters are 0, write actions to register T12
are immediately taken into account.
User’s Manual
4-32
V 0.4, 2002-01