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

no-image

sak-c868p-1rr

Manufacturer Part Number
sak-c868p-1rr
Description
8 - Bit Cmos Microcontroller
Manufacturer
Infineon Technologies Corporation
Datasheet
4.7.1.3
The compare actions take place in parallel for the three compare channels. Depending
on the count direction, the compare matches have different meanings. In order to get the
PWM information independent from the output levels, two different states have been
introduced for the compare actions: The active state and the passive state, which are
used to generate the desired PWM as a combination of the states delivered by T13, the
trap control unit and the multi-channel control unit. If the active state is interpreted as a
’1’ and the passive state as a ’0’, the state information is combined with a logical AND
function.
The compare states change with the detected compare-matches and are indicated by
the CC6xST bits. The compare states of T12 are defined as follows:
• passive if the counter value is below the compare value
• active if the counter value is above the compare value
This leads to the following switching rules for the compare states:
• set to the active state when the counter value reaches the compare value while
• reset to the passive state when the counter value reaches the compare value while
• reset to the passive state in case of a zero-match without compare-match while
• set to the active state in case of a zero-match with a parallel compare-match while
Figure 4-14
User’s Manual
counting up
counting down
counting up
counting up
active
active
passive AND passive = passive
Switching Rules
AND active
AND passive = passive
Compare States for Compare Value = 2
2
active
1
= active
compare-match
passive
4-35
0
1
On-Chip Peripheral Components
2
T12clk
T12
compare
state
V 1.0, 2003-01
C868

Related parts for sak-c868p-1rr