General-Purpose Timer Registers
16-12
ADSP-BF535 Blackfin Processor Hardware Reference
The timer counter value cannot be set directly by the software. The coun-
ter should be read only when the respective timer is disabled. This
prevents erroneous data from being returned.
If it is necessary to read the
TIMERx_COUNTER
registers while that
timer is running, this algorithm must be followed to guarantee
valid results:
1. Read
TIMERx_COUNTER_HI
2. Read
TIMERx_COUNTER_LO
3. Read
TIMERx_COUNTER_HI
again
4. Compare the two
TIMERx_COUNTER_HI
values
5. Repeat from step 1 if they are not equal
In External Event Capture mode (EXT_CLK), the
TMRx
pin (
RX1
or
RX0
for autobaud detection) is used to clock the timer counter. The counter is
initialized with the period value and counts until the period expires. For
more information about autobaud detection see
“Autobaud Detection” on
page 16-19
.
Figure 16-8
describes the Timer Counter registers.
Figure 16-8. Timer Counter Registers
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Timer Counter Lo[15:0]
Timer Counter Hi[31:16]
Reset = 0x0000 0000
Timer Counter Registers (TIMERx_COUNTER_HI, TIMERx_COUNTER_LO)
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
For MMR
assignments, see
Table 16-1 on
page 16-2
.
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...