English
Language : 

C508_01 Datasheet, PDF (89/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
On-Chip Peripheral Components
6.2.2 Timer/Counter 2 with Additional Compare/Capture/Reload
Timer 2 with additional Compare/Capture/reload features is one of the most powerful
peripheral units of the C508. lt can be used for various digital signal generation and event
capturing like pulse generation, pulse width modulation, pulse width measuring etc.
Timer 2 is designed to support various automotive control applications as well as
industrial applications (frequency generation, digital-to-analog conversion, process
control etc.). Please note that the functionality of this timer is not equivalent to the
functionality of Timer 2 of the C501.
The C508 Timer 2 used in combination with the Compare/Capture/reload registers
allows the following operating modes:
– Compare: Up to 4 PWM output signals with 65535 steps at maximum, and 300 ns
resolution
– Capture: Up to 4 high speed Capture inputs with 300 ns resolution
– Reload: Modulation of timer 2 cycle time
The block diagram in Figure 6-13 shows the general configuration of Timer 2 with the
additional Compare/Capture/reload registers. The I/O pins which can be used for
Timer 2 control are located as multifunctional port functions at Port 5 (see Figure 6-4).
Table 6-4 Alternate Port Functions of Timer 2
Pin Symbol
Function
P5.0 / T2CC0 / INT3 Compare output/Capture input for CRC Register
P5.1 / T2CC1 / INT4 Compare output/Capture input for CC Register 1
P5.2 / T2CC2 / INT5 Compare output/Capture input for CC Register 2
P5.3 / T2CC3 / INT6 Compare output/Capture input for CC Register 3
User’s Manual
6-24
2001-05