![Texas Instruments AM1808 Скачать руководство пользователя страница 1493](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581493.webp)
Registers
1493
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
64-Bit Timer Plus
30.2.7 Timer Control Register (TCR)
The timer control register (TCR) is shown in
and described in
.
Figure 30-21. Timer Control Register (TCR)
31
27
26
25
24
Reserved
READRSTMODE34
Reserved
R/W-0
R/W-0
R/W-0
23
22
21
16
ENAMODE34
Reserved
R/W-0
R/W-0
15
14
13
12
11
10
9
8
Reserved
CAPVTMODE12
CAPMODE12
READRSTMODE12
TIEN12
CLKSRC12
R-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
7
6
5
4
3
2
1
0
ENAMODE12
PWID12
CP12
INVINP12
INVOUTP12
TSTAT12
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 30-17. Timer Control Register (TCR) Field Descriptions
Bit
Field
Value
Description
31-27
Reserved
0
Reserved
26
READRSTMODE34
Read reset mode enable bit. Determines the effect of a timer counter read on TIM34. Read
reset mode is only available in dual 32-bit unchained. Output events (interrupt/EDMA/other) are
not generated when read reset occurs.
0
There is no effect when timer counter register TIM34 is read.
1
Timer counter is reset when timer counter register TIM34 is read.
25-24
Reserved
0
Reserved
23-22
ENAMODE34
0-3h
Enabling mode: determines the enabling modes fo the timer.
0
The timer is disabled (not counting) and maintains current value.
1h
The timer is enabled one time. The timer stops after the counter reaches the period.
2h
The timer is enabled continuously, TIM34 increments until the timer counter matches the period,
resets the timer counter to 0 on the cycle after matching and continues.
3h
The timer is enabled continuously with period reload, TIM
n
increments until the timer counter
matches the period, resets the timer counter to 0 on the cycle after matching, reloads the period
register with the values in the reload registers (REL
n
), and continues counting.
21-14
Reserved
0
Reserved
13-12
CAPEVTMODE12
0-3h
Capture event mode. Uses these bits to specify the type of event for Capture mode.
0
Event occurs on timer input rising edge.
1h
Event occurs on time input falling edge.
2h
Event occurs on both rising and falling edges.
3h
Reserved
11
CAPMODE12
Capture mode enable bit. Determines if external event can reset timer. Capture mode is only
available in dual 32-bit unchained mode and when CLKSRC = 0 and ENAMODE = 2h or 3h.
Output events (interrupt/EDMA/other) are generated when capture mode event occurs.
0
Timer is not in capture mode.
1
Timer is in capture mode. External event can reset timer.
10
READRSTMODE12
Read reset mode enable bit. Determines the effect of a timer counter read on TIM12. Read
reset mode is only available in dual 32-bit unchained. Output events (interrupt/EDMA/other) are
not generated when read reset occurs.
0
There is no effect when timer counter register TIM12 is read.
1
Timer counter is reset when timer counter register TIM12 is read.