English
Language : 

XC164-16 Datasheet, PDF (207/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
Capture/Compare Unit 6 (CAPCOM6)
Trap Handling Registers
Register TRPCTR controls the trap functionality. It contains independent enable bits for
each output signal and control bits to select the behavior in case of a trap condition.
CCU6_TRPCTR
Trap Control Register
XSFR (E8C2H/--)
Reset Value: 0000H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
PEN
TRP
EN
13
rw rw
TRPEN
rw
-
-
-
-
-
TRP TRP TRP
M2 M1 M0
- - - - - rw rw rw
Field
TRPPEN
TRPEN13
TRPEN
Bits
15
14
[13:8]
Type
rw
rw
rw
Description
Trap Pin Enable Control
0 The trap input pin CTRAP is disabled.
Software can generate a trap by setting bit
TRPF.
1 The trap input pin CTRAP is enabled. A trap
can be generated by SW by setting bit TRPF or
by CTRAP = 0.
Trap Enable Control for T13 Output
Enables the trap functionality for the T13 output
signal CC63.
0 The trap functionality is disabled. The output
state is independent from bit TRPS.
1 The trap functionality is enabled. The output is
set to the passive state while TRPS = 1.
Trap Enable Control for T12 Outputs
Enables the trap functionality for the individual output
signals CC6x and COUT6x.
0 The trap functionality is disabled. The output
state is independent from bit TRPS.
1 The trap functionality is enabled. The output is
set to the passive state while TRPS = 1.
TRPEN[5:0] corresponds to (left to right):
COUT62, CC62, COUT61, CC61, COUT60, CC60.
User’s Manual
CAPCOM6_X, V2.0
18-63
V2.1, 2004-03