Table 1-52. TIMERxTCR Register Field Descriptions
Bits
Field
Value
Description
15
TIF
CPU-Timer Interrupt Flag.
0
The CPU-Timer has not decremented to zero.
Writes of 0 are ignored.
1
This flag gets set when the CPU-timer decrements to zero.
Writing a 1 to this bit clears the flag.
14
TIE
CPU-Timer Interrupt Enable.
0
The CPU-Timer interrupt is disabled.
1
The CPU-Timer interrupt is enabled. If the timer decrements to zero, and TIE is set, the
timer asserts its interrupt request.
13-12 Reserved
Any writes to these bits must always have a value of 0.
11-10 FREE
SOFT
CPU-Timer Emulation Modes: These bits are special emulation bits that determine
the state of the timer when a breakpoint is encountered in the high-level language
debugger. If the FREE bit is set to 1, then, upon a software breakpoint, the timer
continues to run (that is, free runs). In this case, SOFT is a
don't care
. But if FREE is
0, then SOFT takes effect. In this case, if SOFT = 0, the timer halts the next time the
TIMH:TIM decrements. If the SOFT bit is 1, then the timer halts when the TIMH:TIM
has decremented to zero.
FREE
SOFT CPU-Timer Emulation Mode
0
0
Stop after the next decrement of the TIMH:TIM (hard stop)
0
1
Stop after the TIMH:TIM decrements to 0 (soft stop)
1
0
Free run
1
1
Free run
In the SOFT STOP mode, the timer generates an interrupt before shutting down (since
reaching 0 is the interrupt causing condition).
9-6
Reserved
Any writes to these bits must always have a value of 0.
5
TRB
CPU-Timer Reload bit.
0
The TRB bit is always read as zero. Writes of 0 are ignored.
1
When you write a 1 to TRB, the TIMH:TIM is loaded with the value in the PRDH:PRD,
and the prescaler counter (PSCH:PSC) is loaded with the value in the timer divide-
down register (TDDRH:TDDR).
4
TSS
CPU-Timer stop status bit. TSS is a 1-bit flag that stops or starts the CPU-timer.
0
Reads of 0 indicate the CPU-timer is running.
To start or restart the CPU-timer, set TSS to 0. At reset, TSS is cleared to 0 and the
CPU-timer immediately starts.
1
Reads of 1 indicate that the CPU-timer is stopped.
To stop the CPU-timer, set TSS to 1.
3-0
Reserved
Any writes to these bits must always have a value of 0.
System Control and Interrupts
106
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......