English
Language : 

C868 Datasheet, PDF (38/82 Pages) Infineon Technologies AG – 8-Bit Single-Chip Microcontroller
C868
Timer 0 and 1
Timer 0 and 1 can be used in four operating modes as listed in Table 8:
Table 8
Timer 0 and 1 Operating Modes
Mode
0
1
2
3
Description
TMOD
M1 M0
8-bit timer with a divide-by-32 prescaler
00
16-bit timer
01
8-bit timer with 8-bit autoreload
10
Timer 0 used as one 8-bit timer and one 8-bit 1 1
timer
timer 1 stops
System Clock
fSYS/(12*32)
fSYS/12
The register is incremented every machine cycle. Since the machine cycle consist of
twelve oscillator periods, the count rate is 1/12th of the system frequency. External
inputs INT0 and INT1 can be programmed to function as a gate to facilitate pulse width
measurements. Figure 15 illustrates the input clock logic.
fSYS ÷ 12
C/T = 0
=1
Gate
INT0
Pin
TR0
&
≥1
Control
Figure 15 Timer 0 and 1 Input Clock Logic
Data Sheet
38
Timer 0/1
Input Clock
V 1.0, 2003-05