English
Language : 

XC164-16 Datasheet, PDF (151/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)
18.1.1 Timer T12 Operation
The input clock fT12 of Timer T12 is derived from the module clock fCC6 through a
programmable prescaler and an optional 1/256 divider. The resulting prescale factors
are listed in Table 18-1. The prescaler of T12 is reset while T12 is not running to ensure
reproducible timings and delays.
Table 18-1
T12CLK
000B
001B
010B
011B
100B
101B
110B
111B
Timer T12 Input Clock Options
Resulting Input Clock
Prescaler Off (T12PRE = 0)
fCC6
fCC6/2
fCC6/4
fCC6/8
fCC6/16
fCC6/32
fCC6/64
fCC6/128
Resulting Input Clock
Prescaler On (T12PRE = 1)
fCC6/256
fCC6/512
fCC6/1024
fCC6/2048
fCC6/4096
fCC6/8192
fCC6/16384
fCC6/32768
The period of the timer is determined by the value in the period Register T12PR and by
the timer mode.
In Edge-Aligned mode, the timer period is:
T12PER = <Period-Value> + 1; in T12 clocks (fT12)
(18.1)
In Center-Aligned mode, the timer period is:
T12PER = (<Period-Value> + 1) × 2; in T12 clocks (fT12)
(18.2)
While Timer T12 is running, write accesses to the count register T12 are not taken into
account. If T12 is stopped and the Dead-Time counters are 0, write actions to register
T12 are immediately taken into account.
User’s Manual
CAPCOM6_X, V2.0
18-7
V2.1, 2004-03