English
Language : 

XC164-16 Datasheet, PDF (170/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)
Five further capture modes are called Multi-Input Modes, as they use two different
external inputs, pin CC6x and pin CC6POSx.
MSEL6x
MSEL6x
fT12
Counter Register
T12
CC6x
Edge
Detect
CC6POSx Edge
Detect
Select
Set
State Bit
CC6xST
Set
Register CC6xR
Rising
Falling
Shadow Register
CC6xSR
To Interrupt Logic
Select
MSEL6x
MSEL6x
MCB05524
Figure 18-20 Multi-Input Capture Modes Block Diagram
In each of these modes, the current T12 contents are latched in register CC6xR in
response to a selected event at pin CC6x, and in register CC6xSR in response to a
selected event at pin CC6POSx. The possible events can be opposite input transitions,
or the same transitions, or any transition at the two input pins. The different options are
detailed in Table 18-4.
In each of the various capture modes, the Channel State Bit, CC6xST, is set to 1 when
the selected capture trigger event at pin CC6x or CC6POSx has occurred. The State Bit
must be reset by software.
In addition, appropriate signal lines to the interrupt logic are activated, which can
generate an interrupt request to the CPU. Regardless of the selected active edge, all
edges detected at pin CC6x lead to the activation of the appropriate interrupt request line
(see also Section 18.9).
User’s Manual
CAPCOM6_X, V2.0
18-26
V2.1, 2004-03