Chapter 10: Programmable Timer/Contents
TX7901 User’s Manual (Rev. 6.30T – Nov, 2001)
10-6
10.4.1 Timer Control Registers TMTCR0, TMTCR1, TMTCR2
The following figure and Table 10-4 detail the fields of Timer Control Registers TMTCR0,
TMTCR1, and TMTCR2.
31
16
0
16
15
8
7
6
5
4
3
2
1
0
0
T
C
E
C
C
D
E
C
R
E
0
E
C
E
S
C
C
S
T
M
O
D
E
8
1
1
1
1
1
1
2
Table 10-4 Field Descriptions for Timer Control Registers TMTCR
x
Bit(s)
Field
Field Name
R/W
Description
31:8
–
–
R/O
Reserved
7
TCE
Timer Counter
Enable
R/W
0: When CRE = 0, Counter is only stopped.
When CRE = 1, Counter is stopped and reset. (0)
1: Counter is enabled (i.e. in operation).
6
CCDE
Counter Clock
Divide Enable
R/W
0: Disables frequency division of the internal clock. (0)
1: Enables the frequency division of the internal clock.
5
CRE
Counter “Reset-
When-Stopped”
Enable
R/W
When the Counter is stopped (by clearing the TCE bit to “0”) this bit
determines whether the Counter should also be reset at that time. (0)
0: Holds the count value (i.e. does not clear it) when the counter is stopped
by the TCE bit.
1: Clears the count value when the counter is stopped by the TCE bit.
4
–
–
R/O
Reserved
3
ECES
External Clock
(Trigger-) Edge
Select
R/W
Selects the clock edge used for externally triggering counter. (0)
0: Falling edge of external clock input triggers counter
1: Rising edge of external clock triggers counter
2
CCS
Counter Clock
(Source) Select
R/W
0: Select internal system clock as clock source gbusClk = 1/2 RefClk (0)
1: Select external clock input as clock source
1:0
TMODE
Timer Mode
R/W
Programs the Timer/Counter’s Mode of Operation. (00)
00: Interval Timer Mode
01: Pulse Generator Mode
10: Watchdog Timer Mode
11: Unused (reserved)
Note: The register fields marked “Reserved” are read back as zeroes, and are ignored when written to.
Содержание TMPR7901
Страница 1: ...TX System RISC TX79 Family TMPR7901 Symmetric 2 way superscalar 64 bit CPU ...
Страница 14: ...Handling Precautions ...
Страница 15: ......
Страница 17: ...1 Using Toshiba Semiconductors Safely 1 2 ...
Страница 41: ...4 Precautions and Usage Considerations 4 2 ...
Страница 42: ...TX7901 User s Manual Rev 6 30T November 2001 DOCUMENT NUMBER M 99 00004 07 ...
Страница 43: ......
Страница 259: ...Chapter 13 Removed TX7901 User s Manual Rev 6 30T Nov 2001 13 1 13 Removed ...
Страница 260: ...Chapter 13 Removed TX7901 User s Manual Rev 6 30T Nov 2001 13 2 ...