English
Language : 

C164CM_2 Datasheet, PDF (314/470 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller
C164CM/C164SM
Derivatives
Capture/Compare Unit CAPCOM6
TRCON
Trap Enable Register
SFR (FF34H/9AH)
Reset Value: 0000H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
EN
TRF
TR
EN5
TR
EN4
TR
EN3
TR
EN2
TR
EN1
TR
EN0
-
-
-
-
-
-
TT13 TT12
DIS DIS
rw rwh rw rw rw rw rw rw - - - - - - rw rw
Bit
TT12DIS
TT13DIS
TRENx
TRF
TRPEN
Function
Timer T12 Trap Disable Bit
0: Standard trap levels for timer T12 controlled outputs (P1L)
1: Trap level is initial value for those timer T12 controlled outputs
enabled by bits TRENx
Timer T13 Trap Disable Bit
0: Standard trap level for timer T13 controlled output (P1L)
1: Trap function for timer T13 controlled output is disabled
Trap Enable for Output Pins
0: Trap function for the respective output is disabled
1: Trap level is initial value for the respective output, if the standard
trap level (from P1L) is disabled by bot TT12DIS = ‘1’
Trap Flag
TRF is set by hardware if the trap function is enabled (TRPEN = 1) and
CTRAP becomes active (low). If enabled, an interrupt is generated when
TRF is set.
TRF must be cleared by software.
External CTRAP Trap Function Enable Bit
0: External trap input CTRAP is disabled (default after reset).
1: External trap input CTRAP is enabled.
Note: For applications driving inverters or electric motors the standard trap mode using
P1L provides maximum safety. It is therefore recommended to keep bits TRENx
and TT12DIS cleared (only write ‘0’ to those bit locations).
User’s Manual
17-25
V1.0, 2002-02