English
Language : 

C508_01 Datasheet, PDF (121/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
On-Chip Peripheral Components
Table 6-6
Compare
Timer 1
Input Clock
Resolution and Period of the Compare Timer 1 (at fOSC = 10 MHz)
Operating Mode 0
Operating Mode 1
Resolution Period
Resolution Period
2 fOSC
fOSC
fOSC / 2
fOSC / 4
fOSC / 8
fOSC / 16
fOSC / 32
fOSC / 64
50 ns
100 ns
200 ns
400 ns
800 ns
1.6 µs
3.2 µs
6.4 µs
100ns - 3.28 ms 50 ns
200 ns - 6.55 ms 100 ns
400 ns - 13.11 ms 200 ns
800 ns - 26.21 ms 400 ns
1.6 µs - 52.43 ms 800 ns
3.2 µs - 104.86 ms 1.6 µs
6.4 µs - 209.72 ms 3.2 µs
12.8 µs - 419.43 ms 6.4 µs
200 ns - 6.55 ms
400 ns - 13.11 ms
800 ns - 26.21 ms
1.6 µs - 52.43 ms
3.2 µs - 104.86 ms
6.4 µs - 209.71 ms
12.8 µs - 419.42 ms
25.6 µs - 838.85 ms
Compare Timer 1 period and duty cycle values can be calculated using the formulas
given below. Following abbreviations are used.
pv = period value, stored in the period registers CCPH/CCPL
ov = offset value, stored in the offset registers CT1OFH/CT1OFL
cv = compare value, stored in the Capture/Compare registers CCHx/CCLx
Operating Mode 0:
Period value = pv + 1
Duty cycle of CCx outputs =
1_
cv
pv + 1
× 100%
Duty cycle of COUTx outputs =
1_
cv - ov
pv + 1
× 100%
Operating Mode 1:
Period value = 2 × pv
Duty cycle of CCx outputs =
1_
cv
pv
Duty cycle of COUTx outputs
=
1_
cv - ov
pv
× 100%
× 100%
User’s Manual
6-56
2001-05