English
Language : 

XC164-16 Datasheet, PDF (185/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.3
Timer Block Control
Most features of timers T12 and T13 are controlled via the timer control registers TCTR0,
TCTR2, and TCTR4.
Register TCTR0 controls the basic functionality of both timers, T12 and T13.
CCU6_TCTR0
Timer Control Register 0
XSFR (E8ACH/--)
Reset Value: 0000H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
-
-
STE
13
T13R
T13
PRE
T13CLK
CTM
CDIR
STE
12
T12R
T12
PRE
T12CLK
- - rh rh rw
rw
rw rh rh rh rw
rw
Field
STE131)
T13R2)
T13PRE
T13CLK
CTM
CDIR
Bits
13
12
11
[10:8]
7
6
Type
rh
rh
rw
rw
rw
rh
Description
Timer T13 Shadow Transfer Enable
0 The shadow register transfer is not requested
1 The shadow register transfer is requested
Timer T13 Run Bit
T13R starts and stops timer T13. It is set/reset by SW
via bits T13RR or T13RS or it is reset by HW
according to the function defined by bitfield T13SSC.
0 Timer T13 is stopped
1 Timer T13 is running
Timer T13 Prescaler Enable Bit
Enables the additional 1/256-prescaler of T13
0 The additional prescaler is disabled
1 The additional prescaler is enabled
Timer T13 Input Clock Select
Selects the input clock for Timer T13 which is derived
from the CAPCOM6 input clock according to the
equation:
fT13 = fCC6/2<T13CLK>. See Table 18-5.
T12 Operating Mode
0 Edge-Aligned Mode
1 Center-Aligned Mode
Count Direction of Timer T12
Displays the current counting direction of T12
0 T12 counts up
1 T12 counts down
User’s Manual
CAPCOM6_X, V2.0
18-41
V2.1, 2004-03