English
Language : 

XC161 Datasheet, PDF (141/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.11 Interfaces of the CAPCOM Units
The CAPCOM units CAPCOM1 (see Figure 17-14) and CAPCOM2 (see Figure 17-15)
are connected to their environment in different ways.
Internal Connections
The overflow/underflow signal T6OUF of GPT2 timer T6 is connected to the CAPCOM
units, providing an optional clock source for the CAPCOM timers.
The 18 interrupt request lines of each CAPCOM unit are connected to the interrupt
control block.
Note: The input lines from Port 2, connected with the CAPCOM1 unit, can also be used
as individual external interrupt inputs.
External Connections
The capture/compare signals of both CAPCOM units are connected with input/output
ports of the XC161. Depending on the selected direction, these ports may provide
capture trigger signals from the external system or issue compare output signals to
external circuitry.
Note: Capture trigger signals may also be derived from output pins. In this case,
software can generate the trigger edges, for example.
Timers T0 and T7 can be clocked by an external signal. CAPCOM2’s timer input signal
T7IN shares a port pin with CAPCOM1’s input/output pin CC15IO (see Figure 17-15).
Operations in both CAPCOM units can so be combined:
• the CAPCOM1 compare output can be used to clock CAPCOM2 timer T7, or
• the CAPCOM2 count input signal can be recorded by a CAPCOM1 capture function.
User’s Manual
CC12_X1, V2.1
17-37
V2.2, 2004-01