sak-c868p-1rr Infineon Technologies Corporation, sak-c868p-1rr Datasheet - Page 123

no-image

sak-c868p-1rr

Manufacturer Part Number
sak-c868p-1rr
Description
8 - Bit Cmos Microcontroller
Manufacturer
Infineon Technologies Corporation
Datasheet
Field
T13TEC
T13TED
0
1)
User’s Manual
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
1)
Bits
[4:2]
[6:5]
7
Type Description
rw
rw
r
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
111 set T13R on any hall state change
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
01
10
11
reserved;
returns ’0’ if read; should be written with ’0’;
counting up)
reserved, no action
while T12 is counting up
while T12 is counting down
independent on the count direction of T12
4-79
On-Chip Peripheral Components
.
V 1.0, 2003-01
C868

Related parts for sak-c868p-1rr