English
Language : 

C868_02 Datasheet, PDF (123/244 Pages) Infineon Technologies AG – 8 - Bit CMOS Microcontroller
C868
On-Chip Peripheral Components
Field
T13TEC
T13TED1)
0
Bits Type Description
[4:2] rw
T13 Trigger Event Control
Bitfield T13TEC selects the trigger event to start T13
(automatic set of T13R for synchronization to T12
compare signals) according to following combinations:
000 no action
001 set T13R on a T12 compare event on channel 0
010 set T13R on a T12 compare event on channel 1
011 set T13R on a T12 compare event on channel 2
100 set T13R on any T12 compare event (ch. 0, 1, 2)
101 set T13R upon a period-match of T12
110 set T13R upon a zero-match of T12 (while
counting up)
111 set T13R on any hall state change
[6:5] rw
Timer T13 Trigger Event Direction
Bitfield T13TED delivers additional information to
control the automatic set of bit T13R in the case that
the trigger action defined by T13TEC is detected.
00 reserved, no action
01 while T12 is counting up
10 while T12 is counting down
11 independent on the count direction of T12
7
r
reserved;
returns ’0’ if read; should be written with ’0’;
1) Example:
If the timer T13 is intended to start at any compare event on T12 (T13TEC=’100’) the trigger event direction
can be programmed to
- counting up >> a T12 channel 0, 1, 2 compare match triggers T13R only while T12 is counting up
- counting down >> a T12 channel 0, 1, 2 compare match triggers T13R only while T12 is counting down
- independent from bit CDIR >> each T12 channel 0, 1, 2 compare match triggers T13R
The timer count direction is taken from the value of bit CDIR. As a result, if T12 is running in edge-aligned mode
(counting up only), T13 can only be started automatically if bitfield T13TED=’01’ or ’11’.
User’s Manual
4-79
V 0.4, 2002-01