Timer Status and Control
14-4
ADSP-2126x SHARC Processor Hardware Reference
After the timer has been enabled, its
TIMxEN
bit is set (= 1). The timer then
starts counting three core clock cycles after the
TIMxEN
bit is set. Setting
(writing one to) the timer’s
TIMxDIS
bit stops the timer without waiting
for another event.
Timer Interrupts
Each timer generates a unique interrupt request signal. A common register
latches these interrupts so that a program can determine the interrupt
Table 14-1. Timer Global Status and Control (TMSTAT) Register Bits
Bit(s)
Name
Definition
0
TIM0IRQ Timer 0 Interrupt Latch
Write one-to-clear (also an output)
1
1
TIM1IRQ Timer 1 Interrupt Latch
Write one-to-clear (also an output)1
2
TIM2IRQ Timer 2 Interrupt Latch
Write one-to-clear (also an output)1
3
Reserved
4
TIM0OVF Timer 0 Overflow/Error
Write one-to-clear (also an output)
5
TIM1OVF Timer 1 Overflow/Error
Write one-to-clear (also an output)
6
TIM2OVF Timer 2 Overflow/Error
Write one-to-clear (also an output)
7
Reserved
8
TIM0EN Timer 0 Enable
Write one-to-enable Timer 0
9
TIM0DIS Timer 0 Disable
Write one-to-disable Timer 0
10
TIM1EN Timer 1 Enable
Write one-to-enable Timer 1
11
TIM1DIS Timer 1 Disable
Write one-to-disable Timer 1
12
TIM2EN Timer 2 Enable
Write one-to-enable Timer 2
13
TIM2DIS Timer 2 Disable
Write one-to-disable Timer 2
31–14
Reserved
1 This bit is set to one when an interrupt generating event occurs. When the program writes a
one to this bit position, it clears the source event which causes this bit to clear. A subsequent
read of this bit will return a zero.
Summary of Contents for ADSP-21261 SHARC
Page 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Page 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Page 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Page 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Page 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Page 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Page 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Page 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Page 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Page 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Page 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Page 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...