English
Language : 

XC161 Datasheet, PDF (138/419 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Capture/Compare Units
17.9
CAPCOM Interrupts
Upon a capture or compare event, the interrupt request flag CCxIR for the respective
capture/compare register CCx is automatically set. This flag can be used to generate an
interrupt or trigger a PEC service request when enabled by the interrupt enable bit
CCxIE. Capture interrupts can be regarded as external interrupt requests with the
additional feature of recording the time at which the triggering event occurred.
Each of the capture/compare registers has its own bitaddressable interrupt control
register and its own interrupt vector allocated. These registers are organized in the same
way as all other interrupt control registers. The basic register layout is shown below,
Table 17-4 lists the associated addresses.
CCx_CCyIC
CAPCOM Intr. Ctrl. Reg.
(E)SFR (Table 17-4)
Reset Value: - - 00H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
-
GPX
CCy
IR
CCy
IE
- - - - - - - rw rwh rw
ILVL
rw
GLVL
rw
Note: Please refer to the general Interrupt Control Register description for an
explanation of the control fields.
User’s Manual
CC12_X1, V2.1
17-34
V2.2, 2004-01