English
Language : 

XC164-16 Datasheet, PDF (169/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)
Capture Modes 2, 3 and 4 are shown in Figure 18-19. They differ only in the active edge
causing the capture operation. In each of the three modes, when the selected edge is
detected at the corresponding input pin CC6x, the current contents of the shadow
register CC6xSR are latched into register CC6xR, and the current Timer T12 contents
are captured in register CC6xSR (simultaneous transfer). The active edge is a rising
edge at pin CC6x for Capture Mode 2, a falling edge for Mode 3, and both, a rising or a
falling edge for Capture Mode 4, as shown in Table 18-3. These capture modes are very
useful in cases where there is little time between two consecutive edges of the input
signal.
fT12
Counter Register
T12
MSEL6x
CC6x
Edge
Detect
MSEL6x
Select
Set
State Bit
CC6xST
Rising
Falling
Shadow Register
CC6xSR
Register CC6xR
To Interrupt Logic
MCB05523
Figure 18-19 Capture Modes 2, 3 and 4 Block Diagram
User’s Manual
CAPCOM6_X, V2.0
18-25
V2.1, 2004-03