English
Language : 

C868_02 Datasheet, PDF (96/244 Pages) Infineon Technologies AG – 8 - Bit CMOS Microcontroller
C868
On-Chip Peripheral Components
• a T12 compare-match of channel 1 (T12c1cm)
• a correct Hall event
The possible HW synchronization events are:
• a T12 zero-match while counting up (T12zm)
• a T13 zero-match (T13zm)
•
4.7.4 Trap Handling
The trap functionality permits the PWM outputs to react on the state of the input pin
CTRAP. This functionality can be used to switch off the power devices if the trap input
becomes active (e.g. as emergency stop).
During the trap state, the selected outputs are forced to the passive state and no active
modulation is possible. The trap state is entered immediately by HW if the CTRAP input
signal becomes active and the trap function is enabled by bit TRPPEN. It can also be
entered by SW by setting bit TRPF (trap input flag), leading to TRPS=’1’ (trap state
indication flag). The trap state can be left when the input is inactive, by SW control and
synchronized to the following events:
• TRPF is automatically reset after CTRAP becomes inactive (if TRPM2=’0’)
• TRPF has to be reset by SW after CTRAP becomes inactive (if TRPM2=’1’)
• synchronized to T12 PWM after TRPF is reset
(T12 period-match in edge-aligned mode or one-match while counting down in center-
aligned mode)
• synchronized to T13 PWM after TRPF is reset
(T13 period-match)
• no synchronization to T12 or T13
User’s Manual
4-52
V 0.4, 2002-01